-
-
Notifications
You must be signed in to change notification settings - Fork 93
Handle local files without segfaulting #10
Comments
To elaborate a bit more, actual problem is that we are trying to access the name for an artist that Spotify does not know about. This might be similar to the other missing null check cases we have had. |
We believe this is fixed by pull request #19. |
I just encountered a similar problem to this whereby some file(s) became corrupted in my local .config/mopidy/spotifty area. I could only solve this by deleting the whole cache and restarting - not sure if there is a better way of protecting against corrupted cache files? Some suggestions:
Sorry, forgot to add...here is the code section which blew up:
|
The original issue here was not handling "local tracks" right (ref. http://pyspotify.mopidy.com/en/latest/api/session/#spotify.Session.get_local_track), and nothing to do with the cache or other files stored by libspotify on local disk. Also, pyspotify 1.x and Mopidy-Spotify 1.x is a dead end, about to be replaced by the 2.x reimplementation of both projects. |
@jodal Understood! I actually posted to this issue since it helped me troubleshoot the problem I was having... |
One of my Spotify playlists was "infected" by a local file. This resulted in following problem in handling of artist in pyspotify. Exact details of problem are a bit fuzzy, but problem seems to be with the artist object when calling name. There is also a related mopidy issue here which I will take care of.
http://open.spotify.com/user/adamcik/playlist/0ii9t5LUsjgTL7XY0s6mqM can be used to reproduce.
The text was updated successfully, but these errors were encountered: