Commit 531d6f4
Ignore events other than play
All events in gPodder are :
- play
- download
- delete
- new
- flattr
(see https://gpoddernet.readthedocs.io/en/latest/api/reference/events.html)
`download` and `delete` are ignored by AntennaPod and cause issues with some frontends (see AntennaPod/AntennaPod#6957 (comment))
For `new`, the official documentaion says "This state needs to be interpreted by receiving clients and does not delete any information on the webservice." However, gpodder-sync will erase position and total if client put some value in it (-1 most of the time). It does not respect the spec and should be ignored as well.
`flattr` is undocumented and seems unused.
By elimination, only play is really helpfull.
We should not remove the action column because it can have NEW, DOWNLOAD and DELETE action already with -1 data and could cause damage if removed.1 parent e7e07ca commit 531d6f4
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
0 commit comments