https://bugs.gpodder.org/show_bug.cgi?id=1671
Bug #: 1671
Summary: Constraint for attributes of Episode Actions not
enforced
Classification: Unclassified
Product: libmygpo-qt
Version: Git snapshot
Platform: PC
OS/Version: Linux
Status: CONFIRMED
Severity: feature request
Priority: low
Component: The Library
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The Episode Actions API [1] states in the "Allowed Attributes" section that the
"started" and "total" attributes require the "position" attribute.
However, gpodder.net receives episode actions like the following from Amarok
clients:
{
"action" : "play",
"device" : "---redacted---",
"episode" : "---redacted---",
"podcast" : "---redacted---",
"started" : 1,
"timestamp" : "2012-09-21T15:41:54",
"total" : 2430
}
The User-Agent was "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/533.3 (KHTML,
like Gecko) amarok/2.6.0 Safari/533.3"
libmygpo-qt should not allow such actions to be sent as they do not conform to
the API.
[1] http://wiki.gpodder.org/wiki/Web_Services/API_2#Episode_Actions
--
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