https://bugs.gpodder.org/show_bug.cgi?id=1232
Summary: Uploaded actions do not show up in gpodder.net History
Product: gpodder.net
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: feature request
Priority: low
Component: API Client Library ("mygpoclient")
AssignedTo: [email protected]
ReportedBy: [email protected]
At this point I'm not really sure whether this is a mygpoclient problem or a
gpodder.net server-side problem.
The code below should notify gpodder.net that I have downloaded an episode of
Linux Outlaws.
import sys; from mygpoclient import api
client = api.MygPodderClient('myusername', 'mypassword')
action = api.EpisodeAction('http://feeds.feedburner.com/linuxoutlaws-ogg',
'http://media.libsyn.com/media/linuxoutlaws/linuxoutlaws180.ogg', 'download')
print client.upload_episode_actions([action])
Inserting some debugging code into mygpoclient reveals that the following is
POSTed to the server (to http://gpodder.net/api/2/episodes/myusername.json
where myusername is a correct username):
[{"action": "download", "podcast":
"http://feeds.feedburner.com/linuxoutlaws-ogg", "episode":
"http://media.libsyn.com/media/linuxoutlaws/linuxoutlaws180.ogg"}]
The reply received is:
{'timestamp': 1292189422, 'update_urls': []}
So far everything seems good. However, the action never shows up under the
History tab on gpodder.net. Actions performed by the gPodder client seem to
work correctly, however.
--
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs