[RELEASE] AutoWidget - Let your widgets work for you!
(2020-04-22, 11:55)FXB78 Wrote: I'm trying to add shortcuts to some Radio Stations from the Radio addon in the Kodi Repo, but they won't play. The log seems to indicate "Attempt to use invalid handle -1", this is what's shown when I try to play a station:
Code:
2020-04-22 10:45:10.217 T:139888479172352  NOTICE: plugin.program.autowidget: [ action: call ][ path: xs_manchester-1587548476.35 ][ group: radio_stations-1587548472.25 ][ mode: path ][ id: 27cc997c-7f55-4a2b-b594-7428abd578eb ]
2020-04-22 10:45:10.509 T:139888259311360  NOTICE: [xbmcswift2] Request for "/station/12150" matches rule for function "get_stream_url"
2020-04-22 10:45:10.510 T:139888259311360  NOTICE: [plugin.audio.radio_de] get_station_by_station_id started with station_id=12150
2020-04-22 10:45:10.510 T:139888259311360  NOTICE: [plugin.audio.radio_de] __api_call started with path=v2/search/station, param={'station': '12150'}
2020-04-22 10:45:10.510 T:139888259311360  NOTICE: [plugin.audio.radio_de] __urlopen opening url=http://api.rad.io/info/v2/search/station?station=12150
2020-04-22 10:45:10.883 T:139888259311360  NOTICE: [plugin.audio.radio_de] get_stream_url result: http://media-ice.musicradio.com:80/RealXSManchesterMP3
2020-04-22 10:45:10.891 T:139888259311360 WARNING: Attempt to use invalid handle -1

It's a very simple shortcut, the group file from the userdata is shown in full here https://paste.kodi.tv/etunomerij.kodi

Is this something can can be fixed in Auto Widgets or is the addon simply incompatible? 

I will attempt to test that add-on specifically, but I'm pretty sure my next release will fix this.

EDIT: Did a quick test. The streams that I did test... didn't work in the add-on Rofl However, with my latest (not public yet) changes, I was able to successfully add them to a shortcut group, and the shortcuts work properly. I should be tightening up a few strings and releasing those changes very soon, so they'll probably be active in 1.5.0.
Reply


Messages In This Thread
RE: [RELEASE] AutoWidget - Let your widgets work for you! - by drinfernoo - 2020-04-22, 18:34
Suggestion for next version - by justin150 - 2021-03-08, 13:37
Android Shortcuts - by JSAKelley - 2022-01-12, 05:33
RE: Android Shortcuts - by jdig4240 - 2022-01-12, 07:11
RE: Android Shortcuts - by JSAKelley - 2022-01-12, 16:10
RE: Android Shortcuts - by jdig4240 - 2022-01-12, 16:51
RE: Android Shortcuts - by JSAKelley - 2022-01-12, 23:19
Logout Mark Read Team Forum Stats Members Help
[RELEASE] AutoWidget - Let your widgets work for you!1