[streamtuner] fix issue with totem playing youtube video

leigh123linux leigh123linux at fedoraproject.org
Thu Jul 3 11:07:41 UTC 2014


commit 7aff4a3c9e436142d06dcfd50276d0e2f058c5f2
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Thu Jul 3 12:07:41 2014 +0100

    fix issue with totem playing youtube video

 streamtuner.spec                               |    5 ++++-
 streamtuner2-default-config-desktop-file.patch |    6 ++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/streamtuner.spec b/streamtuner.spec
index 31d2aab..3b6e95c 100644
--- a/streamtuner.spec
+++ b/streamtuner.spec
@@ -2,7 +2,7 @@
 
 Name:           streamtuner
 Version:        2.1.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        An internet radio browser
 Group:          Applications/Multimedia
 License:        Public Domain
@@ -122,6 +122,9 @@ desktop-file-install                         \
 %{_mandir}/man1/streamtuner2.1.*
 
 %changelog
+* Thu Jul 03 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.1.1-7
+- fix issue with totem playing youtube video
+
 * Thu Jul 03 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.1.1-6
 - fix myoggradio plugin
 
diff --git a/streamtuner2-default-config-desktop-file.patch b/streamtuner2-default-config-desktop-file.patch
index e305ca9..c27b4d9 100644
--- a/streamtuner2-default-config-desktop-file.patch
+++ b/streamtuner2-default-config-desktop-file.patch
@@ -1,11 +1,13 @@
 --- a/config.py
 +++ b/config.py
-@@ -67,8 +67,8 @@ class ConfigDict(dict):
+@@ -66,9 +66,9 @@ class ConfigDict(dict):
+                "audio/mpeg": "audacious ",	# %u for url to .pls, %g for downloaded .m3u
                 "audio/ogg": "audacious ",
                 "audio/*": "audacious ",
-                "video/youtube": "totem $(youtube-dl -g %srv)",
+-               "video/youtube": "totem $(youtube-dl -g %srv)",
 -               "video/*": "vlc --one-instance %srv",
 -               "url/http": "sensible-browser",
++               "video/youtube": "totem %srv",
 +               "video/*": "totem %srv",
 +               "url/http": "xdg-open",
              }


More information about the scm-commits mailing list