DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.59k stars 175 forks source link

How to get internet radio station id from stream metadata #2490

Open Durhammer3111 opened 3 years ago

Durhammer3111 commented 3 years ago

Steps to reproduce the problem

Add an internet radio station to playlist. Station name/id seems to be in the "title" field at that point. Start streaming/listening, and (as it should), the title changes to the song title being played. What I WANT is a column header that retains the original station name/id for the duration of the playlist.

What's going on? Describe the problem in as much detail as possible.

Since DeaDBeeF does not have a real stream "library", rather than saving individual stations ("tracks") as named playlists, I want to have all of the stations in the playlist to be able to switch between as desired. The problem is that the station name/id is obliterated when stream play begins. I'd like to add a custom column with the station name/ID in each "track" that persists. I can't find a token/key/variable that has the station id in it. If you select the "track" in the playlist and open the Track Properties, you can SEE the "Track Title" with the station name/id value. If you "Edit" the track title, you can see Field Name: TITLE and Field Value: <station name/id> but there's no obvious %key% (etc.) I can find that has this value. The closest useful thing I can find is %filename_ext% but it's not really satisfactory.

Information about the software:

Deadbeef version: 1.8.4 OS: MX Linux 19.3, Xfce

elandorr commented 2 months ago

Just ran into this as well. Had to use %path% as a workaround. But that can be useless, if the station uses some randomized url. The title is correct in the metadata but not visible in the playlist.