script to create tags with pre-defined text

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: script to create tags with pre-defined text

Re: script to create tags with pre-defined text

by kiwichick » Fri May 21, 2010 10:56 pm

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!!!!

Re: script to create tags with pre-defined text

by kiwichick » Fri May 21, 2010 3:08 am

Lowlander wrote:Why not batch rename, seems much easier than using a script?
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.
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?
Exactly!
ZvezdanD wrote:Currently, with this add-on you cannot change two or more fields at once.
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.

Re: script to create tags with pre-defined text

by ZvezdanD » Fri May 21, 2010 2:35 am

Lowlander wrote:Why not batch rename, seems much easier than using a script?
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?

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.

Re: script to create tags with pre-defined text

by Lowlander » Thu May 20, 2010 11:22 pm

Why not batch rename, seems much easier than using a script?

script to create tags with pre-defined text

by kiwichick » Thu May 20, 2010 8:14 pm

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.

Top