Code: Select all
v17.40.0107 - 2016-12-13 15:23
+ Scripting got a new function.
Name: ID3Tag
Action: Write ID3v1 tags to files that support this. Return the current tags.
Syntax: id3tag([file], [tagslist], [separator="|"])
file: File to tag.
Defaults to the current file.
tagslist: [optional] List of tags to write.
Format:
Name=Value|Name=Value|...
Supported names and max length of values in ID3v1:
title 30 characters
artist 30 characters
album 30 characters
year 4 characters
comments 28 characters
track 0-255 (numeric)
genre 0-255 (numeric)
The names are case-insensitive (A==a).
The order is irrelevant.
separator: [optional] Separates the tags in the passed tagslist.
Defaults to "|" (pipe).
return: The current tags (before the tagging).
Examples:
id3tag(, "album=On The Beach|artist=Neil Young"); //tags the current file
id3tag(, "ARTIST=Neil Young|ALBUM=On The Beach"); //identical to above
text id3tag(); //just return the ID3v1 tags of the current file
text id3tag("E:\Test\Sugar.mp3"); //return the ID3v1 tags of that file
Remarks:
- Only the tags you pass are written, any other tags are left untouched.
- Tags "track" and "genre" are written and returned as numbers.
- Should work with all files that support ID3v1 tags, e.g. MP3, MP4, M4A.
* Scripting | Step Dialog: Now it's wider and higher on larger screens. Also
removed the superfluous label "Script:" from the top of the dialog.
! Links Folder: Under certain conditions (e.g. ejecting a removable drive)
the items in the folder could be doubled. Fixed.
Note that BETA versions are work in progress and might contain fresh bugs. You have been warned.
It's a good idea to backup your complete XYplorer settings (menu File | Settings Special | Backup Application Data Folder...)
before running a new BETA version. This will also help in fixing any fresh bugs.