Unable to access media through http?
#1
Hi,

I'm running XBMC on Arch Linux, version 13.1-3.

I'm having an issue when trying to listen to music locally through a web browser using Chorus web interface or on Android devices running paid-version of Yatse.

I think the best way to describe the situation is when trying to download a file (say an mp3) using Yatse I get "404 Not Found" error??

Outside of that I have enabled debug logging and tried looking at the xbmc.log file which doesn't seem to show anything.


My media is mounted via NFS in /mnt/<media folders> and then added to XBMC as local folders. Of course I am able to play and control the media within XBMC no problem but for some reason can't seem to use Chorus or Yatse to playback/download media.

Chorus shows the media and is able to play it on the XBMC box but not using the "local" mode at all....?

Somehow I think these two issues are related to the same problem and I'm not sure why XBMC gives the "not found" error using Yatse as it's totally synced to the XBMC box; also I have everything enabled under Settings -> Services too.

Is this a bug or am I missing something here?


If I could find more information I would have provided it, unfortunately there is nothing in the logs and nothing even is mentioned under "playback", only when trying to download via Yatse....


Thanks.
Reply
#2
Here's output when try to play locally using MXplayer and Yatse from Android tablet:

Code:
19:39:58 T:140296599869184   DEBUG: webserver: request received for /jsonrpc?tm=1404931198654
19:39:58 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1,"params":[]},{"jsonrpc":"2.0","method":"Application.GetProperties","id":2,"params":[["volume","muted"]]}]
19:39:58 T:140296650225408   DEBUG: webserver: request received for /jsonrpc?tm=1404931198694
19:39:58 T:140296650225408   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetProperties","id":1,"params":[0,["playlistid","speed","position","totaltime","time","percentage","shuffled","repeat","canrepeat","canshuffle","canseek","partymode"]]},{"jsonrpc":"2.0","method":"Player.GetItem","id":2,"params":[0,["title","artist","albumartist","genre","year","rating","album","track","duration","playcount","director","tagline","plotoutline","originaltitle","lastplayed","mpaa","cast","country","imdbnumber","premiered","runtime","showlink","streamdetails","votes","firstaired","season","episode","showtitle","thumbnail","fanart","file","resume","artistid","albumid","tvshowid","watchedepisodes","disc","tag","art","genreid","displayartist","albumartistid","description","theme","mood","style","albumlabel","sorttitle","uniqueid","dateadded","channel","channeltype","hidden","locked","channelnumber","starttime","endtime"]]}]
19:39:59 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:39:59 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:39:59 T:140296625047296   DEBUG: webserver: request received for /jsonrpc
19:39:59 T:140296625047296   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:00 T:140296641832704   DEBUG: Thread JobWorker 140296641832704 terminating (autodelete)
19:40:01 T:140296641832704   DEBUG: webserver: request received for /jsonrpc
19:40:01 T:140296641832704   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:01 T:140296625047296   DEBUG: webserver: request received for /jsonrpc
19:40:01 T:140296625047296   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:01 T:140296641832704   DEBUG: webserver: request received for /vfs
19:40:01 T:140296625047296   DEBUG: webserver: request received for /vfs/%2Fmnt%2FMusic%2F60s70s80s90s%2FAlbums%2FZZ+Top%2F1983+-+Eliminator%2F07+-+Thug.mp3
19:40:03 T:140296625047296   DEBUG: Previous line repeats 1 times.
19:40:03 T:140296625047296   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140296625047296   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","id":1,"method":"Playlist.GetItems","params":{"playlistid":0,"properties":["title","thumbnail","fanart","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file"],"limits":{"start":0,"end":250}}}
19:40:03 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:03 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:03 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:03 T:140296625047296   DEBUG: webserver: request received for /jsonrpc?tm=1404931203656
19:40:03 T:140296625047296   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1,"params":[]},{"jsonrpc":"2.0","method":"Application.GetProperties","id":2,"params":[["volume","muted"]]}]
19:40:03 T:140296650225408   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140296650225408   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:03 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140298772268800   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","id":1,"method":"Playlist.GetItems","params":{"playlistid":0,"properties":["title","thumbnail","fanart","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file"],"limits":{"start":0,"end":250}}}
19:40:03 T:140296599869184   DEBUG: webserver: request received for /jsonrpc?tm=1404931203687
19:40:03 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetProperties","id":1,"params":[0,["playlistid","speed","position","totaltime","time","percentage","shuffled","repeat","canrepeat","canshuffle","canseek","partymode"]]},{"jsonrpc":"2.0","method":"Player.GetItem","id":2,"params":[0,["title","artist","albumartist","genre","year","rating","album","track","duration","playcount","director","tagline","plotoutline","originaltitle","lastplayed","mpaa","cast","country","imdbnumber","premiered","runtime","showlink","streamdetails","votes","firstaired","season","episode","showtitle","thumbnail","fanart","file","resume","artistid","albumid","tvshowid","watchedepisodes","disc","tag","art","genreid","displayartist","albumartistid","description","theme","mood","style","albumlabel","sorttitle","uniqueid","dateadded","channel","channeltype","hidden","locked","channelnumber","starttime","endtime"]]}]
19:40:03 T:140296625047296   DEBUG: webserver: request received for /jsonrpc
19:40:03 T:140296625047296   DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","id":1,"method":"Playlist.GetItems","params":{"playlistid":0,"properties":["title","thumbnail","fanart","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file"],"limits":{"start":0,"end":250}}}
19:40:05 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:05 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:05 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:05 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:05 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:05 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:05 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:05 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:07 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:07 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:07 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:07 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:07 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:07 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:07 T:140296608261888   DEBUG: webserver: request received for /jsonrpc
19:40:07 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:08 T:140298772268800   DEBUG: webserver: request received for /jsonrpc?tm=1404931208654
19:40:08 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetActivePlayers","id":1,"params":[]},{"jsonrpc":"2.0","method":"Application.GetProperties","id":2,"params":[["volume","muted"]]}]
19:40:08 T:140296608261888   DEBUG: webserver: request received for /jsonrpc?tm=1404931208690
19:40:08 T:140296608261888   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","method":"Player.GetProperties","id":1,"params":[0,["playlistid","speed","position","totaltime","time","percentage","shuffled","repeat","canrepeat","canshuffle","canseek","partymode"]]},{"jsonrpc":"2.0","method":"Player.GetItem","id":2,"params":[0,["title","artist","albumartist","genre","year","rating","album","track","duration","playcount","director","tagline","plotoutline","originaltitle","lastplayed","mpaa","cast","country","imdbnumber","premiered","runtime","showlink","streamdetails","votes","firstaired","season","episode","showtitle","thumbnail","fanart","file","resume","artistid","albumid","tvshowid","watchedepisodes","disc","tag","art","genreid","displayartist","albumartistid","description","theme","mood","style","albumlabel","sorttitle","uniqueid","dateadded","channel","channeltype","hidden","locked","channelnumber","starttime","endtime"]]}]
19:40:08 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:08 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:08 T:140296599869184   DEBUG: webserver: request received for /jsonrpc
19:40:08 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:09 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:09 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:09 T:140296599869184   DEBUG: webserver: request received for /jsonrpc
19:40:09 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:10 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:10 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:10 T:140296599869184   DEBUG: webserver: request received for /jsonrpc
19:40:10 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
19:40:11 T:140298772268800   DEBUG: webserver: request received for /jsonrpc
19:40:11 T:140298772268800   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":0,"method":"Player.GetActivePlayers"},{"jsonrpc":"2.0","id":1,"method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
19:40:11 T:140296599869184   DEBUG: webserver: request received for /jsonrpc
19:40:11 T:140296599869184   DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":2,"method":"Player.GetProperties","params":{"playerid":0,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"jsonrpc":"2.0","id":3,"method":"Player.GetItem","params":{"playerid":0,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","imdbnumber","tagline","thumbnail","title","track","writer","year","streamdetails","originaltitle","cast"]}}]
Reply
#3
For Yatse problems it's better to contact author or use the official thread Wink

I suppose your linux distribution have an updated too recent lib microhttpd that have dropped support for + as space in urls.

Next version of Yatse will support that and I suppose Chorus will needs an update.

This is funny since this proves that Xbmc does not use a fixed libmicrohttpd and so should update the version for Windows to correct numerous bugs but well this is not my call Wink
Reply
#4
Thanks for the response Tolriq, wasnt quite sure where to post but as I thought that issues were related I combined them.

Cant wait for new version of Yatse as it really is awsome but if same issue for Chorus too then will need to wait.

Actually its strange that so many plugins from the official repo are having issues with "script error". I guess as things like Python get updated the plugins are probably using older libraries.

I guess related is that Yatse is not displaying some cover art for shows??

Sorry if off-topic a bit but just doing a brain dump while here....
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to access media through http?0