Hi!
I am very new to POL, but I already like the idea!
But I must say I am a little mad when you wrote the entire application with python but forces us to write the scripts with bash! :@ ;-)
However, I found that the Spotify-script in the repo didn't work for me.
There seemed to be a problem with PulseAudio and ALSA, which seems to be kind of usual. =(
It was an easy fix though, so I thought I should update the old script with it so I could learn a little about scripting for bash. Now I am done, and this is the result:
[THE CODE WAS HERE BEFORE]
It is not a very big improvement, just uses the settings Spotify recommends and allows the user to easily change between using ALSA and OSS. I would really enjoy comments and constructive critics on it, so I can learn and become a better scripter. With some luck I'll be able to write some better scripts for more difficult programs in the future. =)
So, what can I improve, what is bad and what should I rewrite from scratch?
KNOWN BUGS:
* The Spotifyinstall-process might don't end if you uncheck "Start Spotify when installation has finished" in the main Spotify-installer. I don't know if this is just me or something in my script, I couldn't find anything about it on Spotify's AppDB-page.
* I am not a native English-speaker, and therefor not very fluent in the language. Spellingmistakes exists most likely.
Edited by Dr Phil