Kodi Community Forum

Full Version: Unable to stream and download files from Chorus2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having trouble download files and streaming using the web interface Chorus2. It gives me a 'File not found" message when downloading and nothing is played when streaming, just a blank image across the browser.

Image

Update: enabled the debug mode and these lines pop up

Code:
23:25:44.459 T:5644   DEBUG: CWebServer[8080]: request received for /addons/webinterface.default/vfs/smb%3a%2f%2fRASPBMC%2fAnimes%2fMusic%2fDaughter%2fHis%20Young%20Heart%20EP%20%5bLP%5d%2fCandles.mp3
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] HTTP/1.1 GET /addons/webinterface.default/vfs/smb%3a%2f%2fRASPBMC%2fAnimes%2fMusic%2fDaughter%2fHis%20Young%20Heart%20EP%20%5bLP%5d%2fCandles.mp3
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Accept-Encoding: gzip, deflate, sdch
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Accept-Language: en-US,en;q=0.8,es-419;q=0.6,es;q=0.4
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Cache-Control: max-age=0
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Connection: keep-alive
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Host: 192.168.1.108:8080
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Referer: http://192.168.1.108:8080/addons/webinterface.default/
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] Upgrade-Insecure-Requests: 1
23:25:44.459 T:5644   DEBUG: CWebServer[8080]  [IN] User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.114 Safari/537.36 Vivaldi/1.10.845.3
23:25:44.460 T:5644   DEBUG: CWebServer[8080] [OUT] Accept-Ranges: none
23:25:44.460 T:5644   DEBUG: CWebServer[8080] [OUT] Cache-Control: private, max-age=0, no-cache
23:25:44.460 T:5644   DEBUG: CWebServer[8080] [OUT] HTTP/1.1 404 /addons/webinterface.de
Just to make sure I understand...

Have you opened Chorus2 and trying to play a movie or play music to watch\listen in Chorus2?
(2017-05-27, 21:51)Karellen Wrote: [ -> ]Just to make sure I understand...

Have you opened Chorus2 and trying to play a movie or play music to watch\listen in Chorus2?

Exactly as you say, no movie or music played/downloaded
Although this wiki page is a little bit out of date, it gives an explanation of what the Web Interface does. It is basically a remote control.

Chorus2 is not a media player. It enables you to control your Kodi installation, just like a remote control, or a phone/tablet app.

I assume you are on another computer and not the computer where your Kodi is installed. You could just install a second copy of Kodi on your computer.
Actually Chorus does have the ability (experimental) to stream to your browser. https://kodi.tv/article/new-webinterface-called-chorus2
  • Stream video from your library in your browser – highly experimental – for best results use Chrome browser and video encoded as mp4/mkv with 2 channel audio. Support this to make video streaming more solid.
  • Download video via the browser
Quote:use Chrome browser and video encoded as mp4/mkv
Ah, that's why I could never get it to work.

Thanks nickr
setting chorus to default interface and open it that way (not 192.168.1.106:8080/addons...., just 192.168.1.106:8080) might do the trick.
i think they asume in the code you use it that way. used to be a problem once i remember, don't know if it is still the case, but worth a try.
Just did the above but nothing seems to be working, now nothing appears: blank page when downloading and a black screen on the web video player with the loading symbol
you could install my addon (see the link in my signature) and try the download function. if it works, see the link, and see what differs from chorus. then we might find out what goes wrong. or, when it also does not work eighter, at least we know more and know better where to look into.
(2017-06-01, 14:41)tuxfuxch Wrote: [ -> ]you could install my addon (see the link in my signature) and try the download function. if it works, see the link, and see what differs from chorus. then we might find out what goes wrong. or, when it also does not work eihter, at least we know more and know better where to look into.

Using your addon, can't seem to find the download function so I can the link if it's the same with Chorus2

Update: just found it but this message appears when trying to download the file

Web image
ok so it seems to be a general problem, not with chorus.
here i don't know excactly what it could be, i have to guess by myselfe. shall we start with checking kodi preferences?
since my kodi is in german, the words i use might be not correct.
in Services (Dienste)/controll, webcontroll, webserver or something (Steuerung) i have the following (you might need to turn on advanst mode):
Controll over HTTP: on
user/pw: i have none
webinterface: does not matter, i have yarc
allow remote-Controll Application on this Computer: on
allow remote-controll applications from other computers: on

one above in Services/ general: i have under zeroconf: report (or inform) aviable services from other systems: on (don't know if this matters or even what it is)

do you have them the same?

edit: do you have a firewall (software) which might interfere? turn it off for a short while to try out.
(2017-06-06, 18:58)tuxfuxch Wrote: [ -> ]ok so it seems to be a general problem, not with chorus.
here i don't know excactly what it could be, i have to guess by myselfe. shall we start with checking kodi preferences?
since my kodi is in german, the words i use might be not correct.
in Services (Dienste)/controll, webcontroll, webserver or something (Steuerung) i have the following (you might need to turn on advanst mode):
Controll over HTTP: on
user/pw: i have none
webinterface: does not matter, i have yarc
allow remote-Controll Application on this Computer: on
allow remote-controll applications from other computers: on

one above in Services/ general: i have under zeroconf: report (or inform) aviable services from other systems: on (don't know if this matters or even what it is)

do you have them the same?

edit: do you have a firewall (software) which might interfere? turn it off for a short while to try out.

Just checked the preferences in Control and all is as you typed:
Allow remote control via HTTP: on
Port: 8080
Username/password: blank
web interface: chorus2
Allow remote control from applications on this system: on
Allow remote control from applications on other systems: on

No firewall enabled in the kodi box
That did not work for me. Do you know of any other options?