-
Notifications
You must be signed in to change notification settings - Fork 22
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
Scrobbled tracks not saving #30
Comments
This is a known problem with the cache file getting corrupt. I documented this problem in Issue #10 My cure was: "Solved I think. Looks like the .mpdascache file was corrupt. In the above sample, the first entry was bad and kept failing. The rest of the cache was never subsequently processed. I deleted the .mpdascache and mpdas is working now." This continues to happen occasionally and so I have a cron job that checks for and removes bad cache files daily. |
I never had the file so I created it. However, every time I launched mpdas, the file would disappear. If I entered something in the file, it would say "Scrobbled successfully." ALSO, if I update to 0.4.1, I get
|
I'll need some debug logs of the problem occurring, otherwise it's very hard to track down the source of it. Which version are you upgrading from? What is your mpd version? As for the cache file corrupting: I'll have a closer look, esp. at the file provided by @pcwalden. Nevertheless, as I said, the mechanism will be reworked soon using a more mature data format. |
Where would I find these logs? 0.3.1 was installed from |
As of mpdas >=0.4 libmpdclient is used. Please make sure you're using the latest mpd and libmpdclient version. Also you have reported the exact same bug for a different scrobbler: mopidy/mopidy-scrobbler#20 Maybe the problem lies somewhere else? Debug logs can be acquired by running mpdas in debug mode, e.g. by setting "debug=1" in the mpdasrc. |
|
Thanks. That does look similar to the issue @pcwalden had. I'll have a look at the caching again, soon. |
I'm going to close this for now. Please let me know if it reoccurs. Preferably with a debug log and cache file (if existent). |
Mpdas scrobbles the current song, but as soon as the song changes it doesn't save on Last.FM. Is there a fix for this?
The text was updated successfully, but these errors were encountered: