Conversation
|
I can confirm this works. Great work and thanks for providing this! :) |
|
On my Unraid server I've had the script stall at 3am for the past 2 nights in a row. The wrapper script seems to be still running, I think meloday.py may be getting stuck. I'll look further into debugging it. Additionally, I think I may have come across a bug with moodmap.json, meloday.py seems to expect it to be in the same directory as the script and not in the assets directory. To workaround this in the docker container I used a symlink. |
|
Yes I had the same. Restarted the container yesterday morning but this morning it was again stalled. |
|
Have been making progress on this, appears that for myself I've never played music during the "Dawn" period so there's no history. Meloday fetches 0 tracks and is getting stuck in a loop. Explains the CPU pinning to 100% |
|
This appears to be working for me now. I had to add a break to meloday.py to stop the script executing when it was unable to fetch enough songs to build the playlist. In my situation, I have no play history for "Dawn" so meloday simply was unable to find any songs and got caught in an infinite loop. Will give it a couple more days to confirm. |
|
@CoryManson could you update the main branch of the docker support you have build? |
|
@Eric-sson I've temporarily repointed https://hub.docker.com/r/cozza38/meloday to my source branch on this PR for you |
|
Mine has been running without fault for a few days now. Hope it's working for you :) |
|
@CoryManson I can confirm as well that mine is running flawlessly for a couple of days :-) |
|
hey, sorry for the silly question but im still a docker novice. i typically run compose files due to my stack, and was wondering if you could help me with generating a compose for your fork? thanks a lot for putting in all this effort! edit: looks like i might have figured it out? copying the config.yml pre-configured into the volume below, then starting the container works. now to just wait till tonight to test! |
|
Glad you got it figured out :) |
|
thanks! and thanks again for this fork! did you figure out how to get timezone setting? current period is dawn for me, but it's actually 2PM hahaha edit: i should really try for longer than 5 minutes before asking things hahaha, got local time working with compose using the good ol' volume: |
|
It should use the system time by default, you may also be able to set a TZ env var for docker: |
|
hey again! sorry, i tried to open an issue on your fork but it wont let me. just wanted to see if there was any way to get more logs, as my install has started to freeze up. maybe you could pop in a debug via config that will show alllll working logs? |

Hi there,
I've added docker support using a linuxserver.io base alpine image. I've tested this on my unraid server and it appears to work well, I'm by no means a docker expert.
The main branch on my fork is a bit of a hard fork, only containing the needed files for the docker build, retrieves meloday files from the parent repo.
https://hub.docker.com/r/cozza38/meloday
Hope this helps!