script to create tags with pre-defined text
script to create tags with pre-defined text
Hi there, For sorting and playlist purposes, I tag songs that were not released on albums with Album and AlbumArtist as "single" (without speech marks). Rather than batch-renaming the Album and AlbumArtist tags I would like a script where I can select all those songs, run the script and the tags will be filled with the word single. Any help is appreciated.
Re: script to create tags with pre-defined text
Why not batch rename, seems much easier than using a script?
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Re: script to create tags with pre-defined text
Maybe because with a script one could use keyboard shortcut or toolbar button, instead of to open the Properties dialog box, type "single" into wanted field, tick check box for batch, and click on OK?Lowlander wrote:Why not batch rename, seems much easier than using a script?
RegExp Find and Replace add-on could do that, you could select tracks and just click on the toolbar button or press keyboard shortcut. You need to create preset for that just once and here are settings:
Preset: Assign "single" to Album
Shortcut: whatever, e.g. Shift+Ctrl+A
Toolbar button: checked
Find what: ^.*
Into: Album
Regular expression 1: checked
Replace with: single
Currently, with this add-on you cannot change two or more fields at once, but you could create two or more presets, one for each field.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
Re: script to create tags with pre-defined text
I don't see how. Selecting the tracks and pressing a button to fill the fields is far easier than selecting the tracks, selecting properties, entering single into the artist field, entering single into albumartist field and clicking ok.Lowlander wrote:Why not batch rename, seems much easier than using a script?
Exactly!ZvezdanD wrote:Maybe because with a script one could use keyboard shortcut or toolbar button, instead of to open the Properties dialog box, type "single" into wanted field, tick check box for batch, and click on OK?
And that is another reason for using a script. Thanks anyway ZvezdanD. I'll check out RegExp Find and Replace but maybe somebody else can give me the script.ZvezdanD wrote:Currently, with this add-on you cannot change two or more fields at once.
Re: script to create tags with pre-defined text
Okay
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Re: script to create tags with pre-defined text
Lowlander, RegExp Find & Replace rocks!!! The best thing about it is being able to place a button the toolbar to execute the script. Would be just about perfect if it could do multiple changes - maybe in the future. Thanks so much!!!!