-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix empty spotify cover and album title #884
Conversation
lovethisshit
commented
Apr 3, 2020
•
edited
Loading
edited
- this modifies the requests for cover and album title to spotify by adding an empty header/context
- Fixes 🐛 | Spotify Name from Playlist not showing in Home View #799
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I did these changes to the corresponding file on my Phoniebox, but it seems like it didn't fix the problems. |
I assume you did restart the webserver or reboot the Pi? @lovethisshit or @fhaertig can you help? |
Yes I restarted the Pi after making the changes. |
Not sure, which version are you using? Edit: I forgot to mention, obviously you should delete all title.txt and cover.jpg files, because the code won't run if already present (or test it with a completely new folder) |
* save used git commit hash to version file (see #828) * added first idea * Get rid of debconf: falling back to frontend: Readline messages while installing * Adapt for stretch dockerfile * Added functions for logging * Enable Logging during the installation * Added config file information into logging * Updated comments * fixed flake8 warnings * read current commit from Github * Consolidate install scripts (#871) * Remove duplicate chown/chmod * Align stretch install scripts * Remove stretch-install-spotify.sh script * Add info about pkg installation (#879) * Add info about pkg installation Fix for #818 * Update README.md * added missing sudo * Update Detect rfidoff function in gpio-buttons.py (#869) * Update Detect rfidoff function in gpio-buttons.py Adapted the RFID-Off function to the new gpio-buttons code structure. Works fine with the hardware hack for the USB-rfid reader described here: #62 The rfidoff event is triggered when the used gpio is pulled down. * Added Missing "Channel" to rfidoff Action * add empty header context to spotify requests, fixes title and cover download (#884) Co-authored-by: fhaertig <[email protected]> * Add info how to post logging info (#882) * fixed flake8 warnings Co-authored-by: Kiri <[email protected]> Co-authored-by: Groovylein <[email protected]> Co-authored-by: Micz Flor <[email protected]> Co-authored-by: Fred G <[email protected]> Co-authored-by: MalteHST <[email protected]> Co-authored-by: lovethisshit <[email protected]> Co-authored-by: fhaertig <[email protected]>
This was the problem. After deleting the two files in my testfolder and rebooting the image and the title got loaded from spotify. |
One more thing: if I remember correctly it also used to show the cover of tracks I directly started from iris. Right now it just shows the last image of things I played earlier when I start something from iris. I probably have to delete another file as well, but which? |
I think this is unrelated to this pull request, as the code i changed only writes the cover and title files. I might have time to look into this this week. |
Alright, thanks! |
I have exactly the same issue even though th topic is closed. I just installed Version "2.3 - 2425890 - master". I think it's the most recent version. Cover.jpeg and title.txt are created but empty. Any help appreciated... |