Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Automatic update of Track No/Total Tracks tags? (Read 421 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Automatic update of Track No/Total Tracks tags?

Hi,  I add my music to FooBar as tracks, grouped under artists' names, also using the artists' names as the album name. That way I compile my own 'Greatest Hits' collections.  I use Masstagger command Auto Track Number which numbers them as per %artist%%album%.
When I add a new track, is there a way for the Track Numbers/Total Tracks tags to be updated automatically, or do I have to run Masstagger each time?

Thanks for anyone who can help.

Re: Automatic update of Track No/Total Tracks tags?

Reply #1
You may have to run Masstagger each time. If you save it as a preset script, you can assign a toolbar button / keyboard shortcut.

Though I imagine there is a Spider Monkey Panel solution to run the command automatically... for people who know how to Spider Monkey...

Re: Automatic update of Track No/Total Tracks tags?

Reply #2
Thank you for your speedy reply.

Re: Automatic update of Track No/Total Tracks tags?

Reply #3
Yep, you could run it automatically using a preset script and then on SMP
Code: [Select]
function on_library_items_added(handle_list){
     fb.RunContextCommandWithMetadb("Tagging/Scripts/YOURPRESET"", handle_list, 8)
}
Obviously I would add some safety checks there... and think if it's really needed to do that. Also as far as I understand, you add track numbers according to ALL tracks on library previously added too, so that code must be edited to have that in mind.

You can also create an autoplaylist with a tag missing (or added recently), and from time to time, manually apply the preset to the entire list. Much safer...

Re: Automatic update of Track No/Total Tracks tags?

Reply #4
Perhaps not fully related to topic, but kinda. @regor Can this also be used in a manner to update a track with a masstagger script after x percentage of track has been played?

Re: Automatic update of Track No/Total Tracks tags?

Reply #5
Yep, you could run it automatically using a preset script and then on SMP
Code: [Select]
function on_library_items_added(handle_list){
     fb.RunContextCommandWithMetadb("Tagging/Scripts/YOURPRESET"", handle_list, 8)
}
Obviously I would add some safety checks there... and think if it's really needed to do that. Also as far as I understand, you add track numbers according to ALL tracks on library previously added too, so that code must be edited to have that in mind.

You can also create an autoplaylist with a tag missing (or added recently), and from time to time, manually apply the preset to the entire list. Much safer...

Thanks. In the risk of getting into deep water, I think I'll do it per item! Appreciate the info.

 
SimplePortal 1.0.0 RC1 © 2008-2021