Commit graph

10 commits

Author SHA1 Message Date
Laurent Bachelier
b8d1a52732 Use simplejson first, and centralize import
simplejson is supposed to be faster:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
2012-03-16 16:27:22 +01:00
Laurent Bachelier
0e0bf2ad37 radiofrance: Fix crash when there is no author
Triggered by FIP at night.
Also force unicode when merging titles.
2012-03-14 23:54:39 +01:00
Laurent Bachelier
6b6822f6ec radiofrance: Use a better source for FIP
But sometimes it doesn't work. So, we still have the playerjs method as
a fallback.
2012-03-14 17:05:53 +01:00
Laurent Bachelier
184cabf345 radiofrance: Fix fetching FIP current, support replay
FIP now uses the same website as most Radio France radios.
As a consequence, it is able to support CapVideo.

There are a few differences between FIP and the other radios, but this
still allowed for less code, and the code should be more robust for
every radio.
2012-03-14 17:05:53 +01:00
Romain Bignon
dfb52a2624 verbose error messages in Qt applications (closes #775) 2012-02-05 17:19:36 +01:00
Laurent Bachelier
664e4cc094 Python 2.5 compatibility 2012-02-05 13:39:24 +01:00
Laurent Bachelier
70034d002d Provide the right extension for downloads 2012-02-04 11:34:41 +01:00
Laurent Bachelier
0dacfa1150 Add support for fetching past emissions URLs
Works with France Inter and France Culture
2012-02-04 02:08:56 +01:00
Laurent Bachelier
7ca156116e Support fetching the current FIP song
Sadly the weird encoding stuff is required.
2012-02-03 13:55:03 +01:00
Laurent Bachelier
3c9c2c7490 Split backend.py into backend.py and browser.py
It was becoming too large.
2012-02-03 13:55:02 +01:00