After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 586575 - ZDF Mediathek plugin
ZDF Mediathek plugin
Status: RESOLVED OBSOLETE
Product: grilo
Classification: Other
Component: source requests
git master
Other All
: Normal enhancement
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-21 22:03 UTC by Christian Kornacker
Modified: 2018-09-24 09:15 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch against trunk (15.89 KB, patch)
2009-06-21 22:04 UTC, Christian Kornacker
needs-work Details | Review

Description Christian Kornacker 2009-06-21 22:03:34 UTC
This patch adds the ability to browse and watch the Mediathek content provided by the german broadcaster ZDF. It's quite basic, which means it works right now but may fail on every single change on the server's site.

The plugin is based on the BBC iplayer plugin.
Comment 1 Christian Kornacker 2009-06-21 22:04:16 UTC
Created attachment 137140 [details] [review]
patch against trunk
Comment 2 Philip Withnall 2009-07-08 16:00:45 UTC
+def xmlunescape(data):

Is there not a built-in Python XML unescaping function you could use?

+			self.totem.action_error (_('Error getting programm feed'), _('There was an unknown error getting the list of feeds for this channel.'))

Typo. "programm" -> "program". The error title which contains that word should also be in Title Case.

+		loc = locale.getlocale()
+		locale.setlocale(locale.LC_ALL, 'C')
+		release = time.strptime(st, "%a, %d %b %Y %H:%M:%S %Z")
+		locale.setlocale(locale.LC_ALL, loc[0])
+
+		return time.strftime("%a, %x %X", release)

What is the purpose of this? In any case, those format strings need to be translatable so that they can be localised.

Other than that, the plugin looks lovely. Nice work. :-)
Comment 3 Bastien Nocera 2011-04-06 02:07:44 UTC
Support for new media sources should be added to grilo for 3.2.

We might be able to reuse the existing Rygel plugin to get this working.
Comment 4 Jens Georg 2012-04-07 10:44:48 UTC
(In reply to comment #3)
> Support for new media sources should be added to grilo for 3.2.
> 
> We might be able to reuse the existing Rygel plugin to get this working.

Not sure. This plugin uses web-scraping while our plugin just subscribes to the RSS feeds.
Comment 5 Bastien Nocera 2015-09-24 13:49:13 UTC
Add to the "request" component.
Comment 6 GNOME Infrastructure Team 2018-09-24 09:15:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/grilo/issues/11.