RuneAudio / RuneUI

RuneAudio Player User Interface
GNU General Public License v3.0
186 stars 74 forks source link

Proposal : Podcast - Alarm - Timer #67

Open JB314 opened 9 years ago

JB314 commented 9 years ago

Hi, Here you can find some features developed on top of the dev branch. You can use it or reject it (or ask me to adapt) as your convenience.

New features :

Mandatory adaptations :

ACXgit commented 9 years ago

Hi JB314, sorry for the late reply. I'll take a look at your code in the details in the next days. The features are interesting and worth to be integrated, although I'd instead do that directly in the new version of RuneAudio, which we will publish soon. The 0.4 release will be the last one based on the old code and can be considered a transitional one towards the new one.

superjasiek commented 8 years ago

Hi tried to apply this code - unfortunately wake up feature and sleep does not work - podcast works perfect! Can't wait for new version of rune!

JB314 commented 8 years ago

Hi, I guess it's related to the execution right on the both script command/stop and command/start. Could you try to allow execution : chmod +x /var/www/command/stop chmod +x /var/www/command/start (I don't remember if it needs to change the owner too (with command "chown"))

I've to publish an updated version of thoses scripts which supports the Spotify renderer. (force the MPD when it starts, and stop spotify playback correctly) Let me know JB [edit : e-mail reply = bad format]

superjasiek commented 8 years ago

Unfortunately it did not make a trick. I'v changed chown (to http) and chmod (executable) mpd does not stop and when i try to activate wakeup feature i only get "Software Failure. Press left mouse button to continue.Guru Meditation #0000022.65045032" Any idea? All best Jan

JB314 commented 8 years ago

quite strange ! which version are you using ? 0.3 or dev branch (~0.4) ? Probably the source files have changed a lot. But, can you check if cronie is correctly installed and started : systemctl enable cronie systemctl start cronie If yes, you can check the content of the files /var/www/command/wakeup and /var/www/command/wakeup.cron if there is something inside. The 1st one stores the data for the WebUI and the 2nd one stores the data for cron job. If they are empty, that means the data are not correctly submitted or saved. You can check the owner and group and verify the write access on both files. (not sure it's needed in fact) You can also check contab items to see if there is something pending : crontab -l And finally, I remember it needs "at" command, you can verify if there is some pending command with "atq".

superjasiek commented 8 years ago

Cool thank's i will check solutions, i'm using 0.3 version. Take care! And I will let you know.

superjasiek commented 8 years ago

while executing atq - it says that there are some tasks pending added by http. In case of cronie - it is enabled but says (cronetab -l) no crontab for root. Also there are no such files in as wakeup and wakeup.cron in /var/www/command.

superjasiek commented 8 years ago

ok it is 0,4 version -sorry for putting wrong information

JB314 commented 8 years ago

It looks like the latest source doesn't match with my code (or the opposit ;) ) Perhaps you can try to create empty files for wakeup and wakup.cron with right rights (rw). It seems the command sent by the UI is not correctly handled by the backend :/ If you execute manually the stop and start "playlistname" command, do you get something positiv ?