kanishka-linux / kawaii-player

Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
GNU General Public License v3.0
617 stars 44 forks source link

server available in mobile browser, but seems to serve only 127.0.0.1: urls #22

Closed simlei closed 4 years ago

simlei commented 4 years ago

Hi, I just did a fresh install via .deb. Most stuff just works! Great job!

But - when I access the media server from my mobile phone, there is something odd. See this screenshot below. When I downloaded the m3u playlist, all urls in there (on the phone!) seemed to point to 127.0.0.1: (see second screenshot, after opening that url)

I accessed the media server via the local network address. Is this intended behavior, e.g. always serve 127.0.0.1: addresses? That can't be right ^^

image image

simlei commented 4 years ago

Oh, never mind. I figured out how to get to the correct setting... :)

kanishka-linux commented 4 years ago

Can you elaborate what was the problem and how did you fix it? It will be good to have it for future reference when someone else is also facing similar issue.

simlei commented 4 years ago

Gladly.

What worked already:

What did not work:

Resolution:

as seen here, change the value of the selected field in the gif to the exact address you will be typing in your browser.

Peek 2019-11-28 14-44

Room for improvement:

kanishka-linux commented 4 years ago

Yes, that is the expected behaviour. Local stream IP and the address that one uses in the browser needs to be same and also it should be local LAN IP address, to get the valid playlist from browser.

I'll see if it can be done in a somewhat better way.

Thanks for the detailed reply.