|
Album duration possible?
|
|
27-02-2022, 19:32
Post: #5
|
|||
|
|||
|
RE: Album duration possible?
Just in case you or someone else is interested...
Here's some basic instructions that should get you going if you're not already. Firstly, create a directory containing copies of your music to play with. It doesn't have to be much, a dozen albums or so is probably enough (if you get comfortable with foobar it can produce truncated versions of your files useful for testing as they contain all the tags but only occupy a fraction of the space). Download the latest foobar and the sqlite plugin.
Code: select album,In the above example (and the final example) you'll obviously need to replace 'album' with whatever set of tags you use to uniquely identify an album so that the aggregation is correct e.g. MUSICBRAINZ_ALBUMID, 'albumartist, album, date' e.t.c You should see the total duration of each album in the grid below the sql. The query is using the tracks you've added to the Playlist window, so if you've only added half an album, the duration will reflect that. You can use MediaLibrary instead of Playlist in the query that will act on your whole library, but you need to be careful, and you'd need to add the tag to the 'SQLite viewer > MediaLibrary table' just as you did earlier to the 'Playlist table'. Assuming that the sql above is working, now you just need to run the code that updates the tags on the files in the playlist. Code: drop table if exists PlaylistUpdatable;At that point, check your files tags to make sure it hasn't changed anything unexpected. If you're using flac it should be fine, if mp3 then there are options to check to make sure it's writing the correct version (File > Preferences > Advanced > Tagging). Before you run it on any of your real music make sure you have a backup (which you should have anyway). Let me know if you have any problems. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)

Search
Member List
Calendar
Help



