This section of the Users’ Guide covers problems which may occur with AlbumPlays:
- Anything I can do to try and avoid problems?
- If a problem occurs how can I see what went wrong?
- How can I get help?
- Important consideration for when deciding how to deal with a problem.
- What impact has AlbumPlays had upon my tracks and my MediaMonkey database?
Anything I can do to try and avoid problems?
Tidy up your track tags
There are various tag situations which can confuse AlbumPlays, or cause its facilities to be less useful. You can run Audit Reports to identify tracks with unhelpful tags.
None of these situations should cause terminal errors, so fixing the tags is optional. Examples of the type of problems that could occur are:
- duplicated album or track names may confuse the tag matching or mismatching handling logic
- albums with duplicated track titles will break the facility which re-attaches your AlbumPlays database to any reripped replacement copies
- albums with duplicated or missing track numbers may stop the lost scrobble resurrection facility from finding and fixing all errors
- tracks with vary long track names will cause Sonos or Last.fm to cut the end from your scrobbled tags, requiring you to attend to mismatch situations
- tracks with a tag having a leading or trailing blank can cause mismatch situations that are difficult to understand
To run any of the Audit Reports, you click notebook Audit tag on the front screen of the GUI. Check each of the reports that you want to run, and then press the Run all selected reports button.
You can then use MediaMonkey to alter the track tags for any of the items that you wish to fix.MediaMonkey also has some useful track auditing tools. Click for an overview.
The “Files To Edit” node in MediaMonkey’s media tree has some useful facilities. The reports marked below are particularly useful in an AlbumPlays context. You can locate the anomalies, and then correct them within the same window.
If you are deleting tracks, or moving them out of sight, you should use MediaMonkey rather than the Windows Explorer. This will ensure that your MediaMonkey database kept up to date with the state of your collection.
When deleting tracks, take care when specifying whether you want to delete just the MM index entry, or whether you want to also physically delete the track also.
If you want to keep the tracks, but remove them from MediaMonkey & your Sonos, you need to drag the tracks to a location which is not indexed by your Sonos, and then separately delete them from MediaMonkey as illustrated above, taking care to specify “Delete from Library only.
Avoid database locks
MediaMonkey will protect itself by locking the database whenever you use it to update a track or album.
If you do retag a track or album, move focus to another track or album after the update, and give MediaMonkey a second or two to settle.
Don’t press the AlbumPlays Run button or use the Action menu button while this is happening.
It is OK to have MediaMonkey open and be just browsing your collection while using AlbumPlays.
Backup your databases
To avoid any problems when you apply MediaMonkey upgrades, AlbumPlays does not alter the structure of the MediaMonkey database. Instead AlbumPlays has its own database to provide its enhanced facilities.
The AlbumPlays database does not replicate the MediaMonkey database. It just bonds to it, providing some additional information. If you need to restore a backup copy of either database, you should restore both in unison.
For this reason it is important that both databases are backed up in unison.
AlbumPlays has a built-in facility to backup both databases in unison, but it is turned off by default. It is quite simple to turn it on.
Last.fm does function as a limited offsite backup for your scrobbles, but you also want to protect your effort involved when matching scrobbles to seed your database with historic scrobbles. Also you may want to protect any track ratings or track re-tagging that you have done with MediaMonkey.
Housekeep your MediaMonkey database
You should occasionally run MediaMonkey’s database Optimize facility to keep their database in good working condition. You find this facility at the MediaMonkey File|MaintainLibrary menu option.
Housekeep AlbumPlays’ database
You should occasionally optimise AlbumPlays’ database also:
- Press the Set Options button
- Select the Vacuum database option
- Press OK
- Then run your next GET or Approve action
If a problem occurs how can I see what went wrong?
- if you were running anything other than the Get or Approve action, a problem is indicated if you notice an unexpected result, or by an error display such as that illustrated below. The log file, which is discussed below, may have more information.
- if you were running either the Get or the Approve action, a problem is indicated if the run summary window shows anything other than the blue Windows info.
- the blue info symbol is the expected result, and there is no need to check the log
- the orange warning symbol indicates that there has been an exception of some kind, and the application has taken default action. In the illustration above an incoming scrobble is unmatched against your tags, and you may want to fix it as described elsewhere. For many warnings, the cause and action will be self-evident, but in same cases the log file may be useful.
- the red error symbol indicates an unexpected result. In the illustration above, Last.fm cannot be contacted. For most error situations you have already received a dialogue box alerting you to the situation. There will be further technical information in the info.log file.
- the window which started as white, and then turned black when the task completed, is the log display. You can read most of the run log there, but it may not be complete. It is best to use the File|ShowLogFile menu option discussed below.
The File|ShowLogFile menu option will open the Log File for the current execution, using whichever tool your computer is configured to use for .log files (usually Notepad).
In a normal log, all lines will start with INFO. Any lines starting with either WARNING or ERROR need attending to.
How can I get help?
If you need advice or assistance, you can send me a problem report. Use the File|ContactAlbumPlays menu option. This will this open a screen where you should provide a description of what you were trying to do, plus anything else that you observe which may help. The menu item will also zip up copies of AlbumPlay’s info & errors logs, which are required for problem analysis.
There are two radio-button options which control how the Problem Report will be sent to AlbumPlays:
- either use your PC’s default email client. The Send Email button will open your email client, and place the information that you have provided into the email. If you choose this option you will need to locate and attach the zipped problem reports to the email manually. The text with the yellow background will show you where to find these files. Use the zipped copies as they will be smaller.
- or the AlbumPlays application can collect up the zipped log files, and email the Problem Report itself, but you will need to provide your email credentials. You can optionally request that AlbumPlays store your email credentials to make the process easier for you in the future. The stored copy of your credentials would be encrypted. …. see here for configuration details and considerations.
Important consideration for when deciding how to deal with a problem.
It is important that you don’t needlessly destroy or delete AlbumPlays’ database.
An important way to think of it is that the AlbumPlays database contains the master copy of your play-related data. The answer has been exported to MediaMonkey, but none of the workings. If you lose the AlbumPlays database, and have no backup copy, you face having to re-seed your database from Last.fm. You may reseed from MediaMonkey, but you will only have a play count summary for each track, rather than record of each individual historic play for the track.
You should take a backup copy of the AlbumPlays and MediaMonkey databases before trying anything too bold or experimental. You should make sure that neither application is not running before making a backup copy of the database. If you are running AlbumPlays in Spy mode, you only need to close the Play Counts component of AlbumPlays.
What impact has AlbumPlays had upon my tracks and my MediaMonkey database?
AlbumPlays never updates your tracks. It could trigger MediaMonkey to update your tags, and only in Spy mode. You have to explicitly request these updates. The tags in your music tracks are never updated when in Last.fm mode.
AlbumPlays does update the data in one of your MediaMonkey tables. It does not change the MediaMonkey database structure, nor any of the database integrity rules.