[streamtuner] fix myoggradio plugin

leigh123linux leigh123linux at fedoraproject.org
Thu Jul 3 08:20:33 UTC 2014


commit c719365609c6cd89b9dc58bc0f33031d7056bfba
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Thu Jul 3 09:20:36 2014 +0100

    fix myoggradio plugin

 fix_myoggradio.patch |   19 +++++++++++++++++++
 streamtuner.spec     |    7 ++++++-
 2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/fix_myoggradio.patch b/fix_myoggradio.patch
new file mode 100644
index 0000000..7c7c76d
--- /dev/null
+++ b/fix_myoggradio.patch
@@ -0,0 +1,19 @@
+--- a/channels/myoggradio.py
++++ b/channels/myoggradio.py
+@@ -23,6 +23,7 @@ from channels import *
+ from config import conf
+ from action import action
+ from mygtk import mygtk
++import ahttp as http
+ 
+ import re
+ import json
+@@ -38,7 +39,7 @@ class myoggradio(ChannelPlugin):
+     title = "MyOggRadio"
+     module = "myoggradio"
+     homepage = "http://www.myoggradio.org/"
+-    api = "http://ehm.homelinux.org/MyOggRadio/"
++    api = "http://www.myoggradio.org/"
+     listformat = "url/direct"
+     
+     # config data
diff --git a/streamtuner.spec b/streamtuner.spec
index 6b71ce1..31d2aab 100644
--- a/streamtuner.spec
+++ b/streamtuner.spec
@@ -2,7 +2,7 @@
 
 Name:           streamtuner
 Version:        2.1.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        An internet radio browser
 Group:          Applications/Multimedia
 License:        Public Domain
@@ -29,6 +29,7 @@ Obsoletes:      streamtuner-devel
 
 # Patches
 Patch0:         streamtuner2-default-config-desktop-file.patch
+Patch1:         fix_myoggradio.patch
 
 %description
 Streamtuner lists radio directory services like Shoutcast, Xiph, Live365, 
@@ -43,6 +44,7 @@ is therefore easier to extend.
 # add newline at end of file to make patching easier
 echo >> streamtuner2.desktop
 %patch0 -p1 -b .default-config-desktop-file
+%patch1 -p1 -b .fix_myoggradio
 
 %build
 
@@ -120,6 +122,9 @@ desktop-file-install                         \
 %{_mandir}/man1/streamtuner2.1.*
 
 %changelog
+* Thu Jul 03 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.1.1-6
+- fix myoggradio plugin
+
 * Mon Jun 23 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.1.1-5
 - fix logo and menu icon
 


More information about the scm-commits mailing list