Giter Site home page Giter Site logo

Radio Station Names about smpc HOT 11 CLOSED

sh6668 avatar sh6668 commented on July 16, 2024
Radio Station Names

from smpc.

Comments (11)

a-dekker avatar a-dekker commented on July 16, 2024

I normally do not use playlists and or/url streams. But improving readability sounds fine of course.

Please create a PR, and I will see if I can so some tests to see the actual difference.

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

Referring PR: #42

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

Could you provide an example m3u file? A have a small playlist, but can't really see a difference with Cantata.

I have something like

http://8bit.fm:8000/main
http://stream.chipbit.net:8000/autodj.m3u

In my internet radio playlist, and it shows up the the same, no '#' etc. Are we talking about some native Cantata format?

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

Released in 1.3.25.1

from smpc.

kan-ibal avatar kan-ibal commented on July 16, 2024

While "#" is already implemented is it possible to implement "StreamName" URL format?
e.g http://109.74.196.76/proxy/onlinerhb?mp=/stream#StreamName=Radio%20Hospitals%20Blackburn

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

StreamName seems to be some non standard key name in the comment to me, as I do not really see it used elsewhere. Since it is just comment, you can remove the "StreamName=" in the URL for it to be handled as regular comment.

from smpc.

kan-ibal avatar kan-ibal commented on July 16, 2024

I use radio playlist in m3u format located in /var/lib/mpd/playlists prepared in Canata(->Playlists->Stored Playlists) using simple drag&drop so I can reach them directly from SMPC->Files. It looks like Cantata adds this comment as well as "#" so all of my streams got this comment :).

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

Added a stream via Add stream in Cantata (URL and name), and indeed it added a "StreamName=" to the URL. I am afraid it is very Cantata specific, but it should be doable to remove this substring.

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

This commit should fix this: 1724f8c
But keep in mind: Cantana creates the comment in html escaped format. This means non standard characters should be translated to plain text. There in no proper Qt/C++ function to do that afaik. At the moment I just replace the space character, which is sufficient for your case, but could be refined more for other cases.

from smpc.

a-dekker avatar a-dekker commented on July 16, 2024

Released in 1.3.26.1

from smpc.

kan-ibal avatar kan-ibal commented on July 16, 2024

Great. Appreciate your work.

from smpc.

Related Issues (17)

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.