Code Monkey home page Code Monkey logo

Comments (6)

jaedb avatar jaedb commented on August 22, 2024

I have a confession: I'm unfamiliar with EXTINF. Given that Mopidy core plays this fine, I'm sure it can be achieved. It will depend on what information about the stream Mopidy makes available.

from iris.

jaedb avatar jaedb commented on August 22, 2024

From @mczerski on October 24, 2016 11:55

ok, I thought that parsing m3u playlist is done by mopidy core. it would suffice to just show the url but this is also sometimes fail. sometimes the url is showed and sometimes there is nothing showed.

from iris.

jaedb avatar jaedb commented on August 22, 2024

@mczerski, can you please send me the relevant part of your m3u playlist? I'm just trying to isolate whether the issue is Iris not showing the info, or Mopidy not providing it.

from iris.

mczerski avatar mczerski commented on August 22, 2024
#EXTINF:1,MultiRoom
rtsp://livingroom-osmc.local:5004/test

the first line is meta info and second is actual song url

from iris.

jaedb avatar jaedb commented on August 22, 2024

The issue is that when requesting the current track info from Mopidy (eg playback.current_tl_track), it returns the rendered track information. I believe Mopidy gets this from the backend provider related to the URI.

However, when requesting the track information from a playlist, it doesn't perform a backend lookup. It just reads the m3u file and respects whatever values are set there (eg your MultiRoom string). This is why you are experiencing a discrepancy.

With this in mind, I believe the issue is related to Mopidy (or more specifically, the m3u backend) as that is what is providing us the variation in titles.

Moped must be reading the playlist track information and not using the playback.current_tl_track functionality. Iris does use this.

from iris.

Yadro avatar Yadro commented on August 22, 2024

It seems this issue related to iris..

I can demonstrate it:
Radio_M.m3u

#EXTM3U

#EXTINF:1,Ambient - UK2
http://uk2.internet-radio.com:31491/

#EXTINF:2,Echo Msk - Sample title
http://ice912.echo.msk.ru:9120/24.aac

And this is request and response about this playlist
image

image

As you can see Iris receive this information. But it render another.
It would be greate to show information from m3u in playlist. (I'm not talking about current playing track)

from iris.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.