pyradio: [BUG] Not all stations display song info in mplayer/vlc
Describe the bug See title
To Reproduce Stations like detroitindustiral.org show the song info. However most stations I have tried do not do this. Stations on Laut.fm sanctuaryradio.com and somafm.com do not.
Expected behavior The data is shown on the status line. I know the stations send out this info too as I can see it in other players (except for the clubmix station on sanctuaryradio which does not send that information out.)
System (please complete the following information):
- OS: LMDE6 (Dabian)
- Python version: 3.11.2-1+b1
pipxversion (if applicable): 1.1.0-1pipxinstallation method: System dependent (I think, not too familiar with pipx and not sure how to check, but I don’t think it’s applicable here either.)- PyRadio Version: 0.9.3.11.3
- Player used: mpv (currently)
Additional context Possible feature upgrade. Maybe have the status line show as:
Title: track info (which may also just be the station ID/url so I'm not sure how well it would work.)```
The reason for this is if there is ever a visualizer or a user is looking at a different page (pretty much just the .csv file list) then the user wont know what station is currently playing if it's not in the stream's info.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16
Closing since this seems to be an issue with mplayer/vlc rather than pyradio.
Laut.fm takes longer to connect to but they will eventually load.
I just checked and apparently I didn’t have MPV installed so it was using VLC, oops. Though the track doesn’t update on change now so… new issue (but only on Sanctuary Radio as Laut.fm is working fine.) At least I can reconnect to update it though if I want to know, so that’s an improvement.
I never read the first steps, but I did enable the restricted codecs via
sudo apt install mint-meta-codecs.Wow I super appreciate that.
I just got an error too “mplayer: Player terminated abnormally!”
I was getting a similar error in MPD/NCMPCPP where the start of a song would play and when the track information hit then it would just stop playing. I had to fix it by removing an option in the mpd.conf as I mentioned over at https://github.com/MusicPlayerDaemon/MPD/discussions/2169 but this is more an mplayer problem than a pyradio problem. I just felt it warranted a mention.