Open surtarso opened 2 weeks ago
I'm glad you fixed the problem. So it works now?
Well, I guess so. I do need a valid SSL cert for the songs to play now, which wasn't the case before I did a clean install. But I guess youtube wasn't working at all before coz of it, so I'm not really sure if a bug or a feature hehehe =)
Hi Arthur, I've been trying to apply all fixes I've search here for youtube music...
my config is like this:
I've tried python path empty and youtube-dl path without absolute path as well, all same result... I can search youtube normally... but when I try to play it just skips to next local song in playlist.
I'm on dietpi, debian bullseye (x86 PC, not a RPi), installed ompd with their software
I already updated youtube-dl with -U option
running " youtube-dl -j --no-check-certificate --prefer-insecure Z_4ULKpkLNc " in bash works fine, giving me the json with info for the video as stated on other issues here about this.
my php installation:
on console log, songs that play show as " isplaying:3; idx: 13 " or similar, while the ones from youtube show as " isplaying:0; idx: 0 "... not sure if relevant.
Here is a SS from a youtube song on the playlist. It shows cover, info, music time... but as you can see on the timeline, 0 bit 0kHz 0kbps..
I've already updated ompd to last version (using dietpi-software menu) just in case... Can you give me a light here? Thanks!
edit: Well now I don't know what happened, after the 'clean reinstall' nothing plays, not even local... f..me. "exception: Failed to decode" and "exception: Failed to read mixer for 'DietPi ALSA': no such mixer control: PCM" on both local and youtube files. thats from mpd.service status... what did I break? o.o
Oh wow! ok... I got it fixed. I use ompd locally, so I use 192.168.1.10/ompd to access it. For some reason, the errors were coming com CURL failing coz of SSL! o.o I have no idea why. To fix it I simply accessed it using my dns myurl.com/ompd so the cert url would match ompd url, and it worked, both local and youtube. Maybe thats the reason YT wasnt working earlier today, but local music was and has been normal for a long time. Something doing a clean reinstall broke (or fixed?) something and now for my music to play I need to access ompd using proper ssl certs. Thankfully I have one so all good now I guess.
SS of mpd.service status