dersphere / plugin.audio.radio_de

XBMC music plugin to access all radio.de listed radio stations
GNU General Public License v2.0
15 stars 30 forks source link

Cannot edit or delete object in "My Stations" folder #11

Closed UC3829 closed 7 years ago

UC3829 commented 8 years ago
ERROR: EXCEPTION Thrown (PythonToCppException) : 

-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

Error Type: <type 'exceptions.ValueError'>
Error Contents: Bad category_type

Traceback (most recent call last):

File "/storage/.kodi/addons/plugin.audio.radio_de/addon.py", line 278, in <module> plugin.run()
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run items = self._dispatch(self.request.path)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch listitems = view_func(**items)
File "/storage/.kodi/addons/plugin.audio.radio_de/addon.py", line 174, in show_stations_by_category category)
File "/storage/.kodi/addons/plugin.audio.radio_de/resources/lib/api.py", line 91, in get_stations_by_category raise ValueError('Bad category_type')
ValueError: Bad category_type

-->End of Python script error report<--

Offending item in my_stations.json

,1457894752.9122369],"Test stream":[{"stream_url":"","is_custom":"1","thumbnail":"","name":"","id":""},

AndreaLombardo commented 8 years ago

Hi, I'have similar problem, when creating a custom station, kodi puts two same stations, both playable and working fine. When I try to delete one of they, the remaining station not work and i can't delete it because the "Remove from my stations" is not displayed in the menù. Thanks

AndreaLombardo commented 8 years ago

Solved manually editing ~/.kodi/userdata/addon_data/plugin.audio.radio_de/.storage/my_stations.json

dersphere commented 7 years ago

Closing as I could not reproduce. If you still see this error, please reopen with a more detailed description. Thanks for reporting anyway! :)