Hi @XDGFX - thanks for your effort on this great project.
I have spent the last few hours attempting to backup a Spotify playlist to an m3u file saved on my server without any success. Backing up the playlists works fine, but all playlists are empty! I've been trying to debug this by looking into the logs but there are no indications of a problem. Have you come across this issue?
I am running this via Docker on a Synology NAS. My compose:
I have really tried everything from pulling different tags (latest vs 1.2.0), adding various environment entries, such as pythonencoding=utf-8 or other locale related envs.
Here are my logs:
2022-05-02 13:32:54,256 - plugins - INFO - Running applet: xyz (plugins.py:251)
2022-05-02 13:32:54,258 - plugins - DEBUG - Running plugin spotify v0.5 (plugins.py:158)
2022-05-02 13:32:54,260 - 🎧 spotify - INFO - Credentials will be cached in: /config/up_spotify/up_spotify.bz2 (up_spotify.py:93)
2022-05-02 13:32:54,261 - 🎧 spotify - DEBUG - Fetching your Spotify token (up_spotify.py:110)
2022-05-02 13:32:54,452 - 🎧 spotify - DEBUG - Token is valid. (up_spotify.py:136)
2022-05-02 13:32:54,453 - 🎧 spotify - DEBUG - Returning cached token (up_spotify.py:118)
2022-05-02 13:32:54,806 - 🎧 spotify - INFO - Found 56 playlist(s) on Spotify. (up_spotify.py:331)
2022-05-02 13:32:54,807 - 🎧 spotify - INFO - Building songs_dict for playlists... (up_spotify.py:566)
0it [00:00, ?it/s]2022-05-02 13:32:54,899 - 🎧 spotify - INFO - Converting tracks to ultrasonics format. (up_spotify.py:387)
Converting tracks in xyz: 0%| | 0/2 [00:00<?, ?it/s]
Converting tracks in xyz: 100%|██████████| 2/2 [00:00<00:00, 15141.89it/s]
1it [00:00, 12.13it/s]
2022-05-02 13:32:54,901 - plugins - DEBUG - Running plugin local playlists v0.4 (plugins.py:158)
2022-05-02 13:32:54,903 - 🎧 local playlists - INFO - Found 0 playlist(s) in supplied directory. (up_local playlists.py:254)
2022-05-02 13:32:54,904 - 🎧 local playlists - INFO - Your backups are currently taking up 0.0MB of space (up_local playlists.py:201)
2022-05-02 13:32:54,905 - plugins - INFO - Applet xyz completed successfully in 0:00:00.648833 (plugins.py:296)
2022-05-02 13:32:54,919 - database - INFO - Applet lastrun updated (database.py:377)
The below is my configuration for above playlist:
And here the created file that is currently empty:
Also, the cat command returns nothing when attempting to read the file from within the container.
Interesting enough, when I attempt to write the Spotify output to a "custom" txt file, everything shows up fine. Even if selecting output "log", I can see the results of the playlists in debug. This leaves me with the thought that something is going wrong when writing the file.
Hi @XDGFX - thanks for your effort on this great project.
I have spent the last few hours attempting to backup a Spotify playlist to an m3u file saved on my server without any success. Backing up the playlists works fine, but all playlists are empty! I've been trying to debug this by looking into the logs but there are no indications of a problem. Have you come across this issue?
I am running this via Docker on a Synology NAS. My compose:
I have really tried everything from pulling different tags (latest vs 1.2.0), adding various environment entries, such as pythonencoding=utf-8 or other locale related envs.
Here are my logs:
The below is my configuration for above playlist:
And here the created file that is currently empty:
Also, the
cat
command returns nothing when attempting to read the file from within the container.Interesting enough, when I attempt to write the Spotify output to a "custom" txt file, everything shows up fine. Even if selecting output "log", I can see the results of the playlists in debug. This leaves me with the thought that something is going wrong when writing the file.
Help!?
Thanks, onestix