[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887589: stretch-pu: package grilo-plugins/0.3.3-1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

I would like to upload a new grilo-plugins package, which contains a
fix for https://bugs.debian.org/887469

The Radio France website has changed and Grilo can no longer detect
the available radios correctly.

This was fixed upstream more than a year ago already. These are the
upstream bug report and the fix:

   https://bugzilla.gnome.org/show_bug.cgi?id=773310

   https://github.com/grilofw/grilo-plugins/commit/4617b91983792f3282757b93134f0b7e8f287d52

I have tested the patch and it works correctly. The reporter of the
original bug also confirms that it solves the problem.

I haven't uploaded the package yet, I'll do it as soon as I get the
confirmation that the changes are fine. Debdiff attached.

Thanks!

-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru grilo-plugins-0.3.3/debian/changelog grilo-plugins-0.3.3/debian/changelog
--- grilo-plugins-0.3.3/debian/changelog	2016-09-12 10:50:22.000000000 +0300
+++ grilo-plugins-0.3.3/debian/changelog	2018-01-17 11:30:37.000000000 +0200
@@ -1,3 +1,10 @@
+grilo-plugins (0.3.3-1+deb9u1) stretch; urgency=medium
+
+  * debian/patches/radiofrance.patch:
+    - Fix Radio France source after website changes (Closes: #887469).
+
+ -- Alberto Garcia <berto@igalia.com>  Wed, 17 Jan 2018 11:30:37 +0200
+
 grilo-plugins (0.3.3-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru grilo-plugins-0.3.3/debian/patches/radiofrance.patch grilo-plugins-0.3.3/debian/patches/radiofrance.patch
--- grilo-plugins-0.3.3/debian/patches/radiofrance.patch	1970-01-01 02:00:00.000000000 +0200
+++ grilo-plugins-0.3.3/debian/patches/radiofrance.patch	2018-01-17 11:30:37.000000000 +0200
@@ -0,0 +1,24 @@
+From: Bastien Nocera <hadess@hadess.net>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=773310
+Bug-Debian: https://bugs.debian.org/887469
+Subject: Fix radiofrance unset URLs after recent website changes
+Origin: https://github.com/grilofw/grilo-plugins/commit/4617b91983792f3282757b93134f0b7e8f287d52
+Index: grilo-plugins/src/lua-factory/sources/grl-radiofrance.lua
+===================================================================
+--- grilo-plugins.orig/src/lua-factory/sources/grl-radiofrance.lua
++++ grilo-plugins/src/lua-factory/sources/grl-radiofrance.lua
+@@ -105,9 +105,12 @@ function create_media(id, result)
+     media.id = 'fip'
+   end
+ 
+-  media.url = result:match("liveUrl: '(.-)',")
++  media.url = result:match("urlLive:'(http.-%mp3)")
+   if not media.url then
+-    media.url = result:match('"player" href="(http.-%.mp3)')
++    media.url = result:match('player" href="(http.-%.mp3)')
++  end
++  if not media.url then
++    media.url = result:match('data%-url%-live="(http.-%.mp3)')
+   end
+ 
+   media.title = get_title(id)
diff -Nru grilo-plugins-0.3.3/debian/patches/series grilo-plugins-0.3.3/debian/patches/series
--- grilo-plugins-0.3.3/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ grilo-plugins-0.3.3/debian/patches/series	2018-01-17 11:30:37.000000000 +0200
@@ -0,0 +1 @@
+radiofrance.patch

Reply to: