Closed kaigiessen closed 1 year ago
That's indeed the best case scenario for the tool. I'll let you know when it's done.
Hi @fm16191 , I'm also very interested to use the playlist feature. Looking forward to hear some updates about this wonderful addition to your already fantastic code. Happy Holiday!
Cheers
Hi @kaigiessen, @rockstar2020, and sorry for the late update.
This feature should now be supported. I'm looking forward to hear about what you think of it, and if you encounter any difficulties or issues when using it.
Happy holidays!
Hi @fm16191 , I can confirm that the feature seem to be working fine so millions of thanks for adding this feature. However I have few issues which I think is related to my setup but I'm gonna share them with you hoping you can give me some troubleshooting hints. First of all I'm running this code on a Ubuntu 22.04 Desktop with all latest updates/upgrades.
Issues that I'm facing:
Lastly, two more requests for future enhancements:
Once again thanks for your great work and looking forward to your recommendations.
Cheers
Hi @rockstar2020 Great news, glad it does its job properly :)
xvfb
to run it under a virtual display. Add xvfb-run
right before spotify --uri ...
in the spotdl.sh
file as a short-term solution, an option to run it headlessly will be added soonOn the enhancements part :
HI @fm16191 , Thanks for your response. In fact I was drafting a message to you but you beat me. :) I've got some updates for you:
And lastly I did follow your recommendations by changing the settings in pulse audio but since I didn't have the file "pulse.pa" I made the same changes into "default.pa" which I could find in /etc/pulse folder. Will that make any difference? Currently this is the only issue I'm focusing on to fix. Other cleanups can wait.
I general, your project pushed me to get closer to someting I was always looking for which was an automated recordinging of Spotify's songs in a playlist. So once agin thank you very much! Great work!
Any recommendations to fix Spotify/Pulse Audio issue would be highly appreciated.
Cheers
OK, now I managed to fix the audio output issue as well. :)
All I did was to change the port from "Speaker" to "Headphones" which is basically unplugged and hence no audio coming out of speakers.
FYI the command to run was pacmd set-sink-port 0 analog-output-headphones
, or simply by adding set-sink-port 0 analog-output-headphones
in the default.pa file.
Obviously this may be different depending on the hardware you are running the code on.
Cheers
Hi @rockstar2020, and sorry for the late answer.
--no-zygote
really does, but that seems to help sometimes indeed. As well, I've seen those options shared around --disable-gpu
--disable-software-rasterizer
that might help in similar cases.I believe .pa
filename depends on the OS, I guess that should do the trick.
The "switch to unplugged headphones" is a clever workaround ! I'll find an appropriate way to implement this feature in the future, but I haven't looked into it yet. :)
Thanks for the kind words, I'm glad it's (somewhat) functional and that it is helpful!
I'll be closing this, as the initial feature request has been fulfilled, and you have overcome all your issues. Thank you for you enthusiasm and your diagnoses, please don't hesitate to open a new one for any new problem/feature request !
Would be awesome to implement a feature that allows recording of entire spotify playlists.