fbuser
Dec 21 2008, 01:12
As promised
here, I extracted the new file tagger from foo_cwb_hooks.
Download:
Click to view attachmentIt is only a maintenance release without any changes.
baroughter
Jan 26 2009, 20:54
QUOTE (fbuser @ Dec 20 2008, 18:12)

As promised
here, I extracted the new file tagger from foo_cwb_hooks.
You can download the component
here.
It is only a maintenance release without any changes.
thank you for this. it is exactly what I was looking for.
baroughter
Jan 26 2009, 20:56
oops, I just realized I also need the "Stamp Time and Date" function from cwb_hooks also. Is this available from a different component?
fbuser
Jan 28 2009, 21:54
I wasn't aware that such a function was available in foo_cwb_hooks. Unfortunately it is not a simple task to add this function to foo_new_file_stamper_mod, because it was based on an old masstager API inside the SDK. The API is not available anymore, probably because the masstagger component was declared as deprecated at about the same time the API was removed from the SDK. It is not impossible to reimplement this function, so I will have a look, what I can do. But don't expect this to be done in the near future.
tomthomson
Feb 14 2009, 14:22
QUOTE (baroughter @ Jan 26 2009, 21:56)

oops, I just realized I also need the "Stamp Time and Date" function from cwb_hooks also. Is this available from a different component?
i'm also looking forward to the implementation of this feature since i dont know any other way of creating values for the %added% tag besides the official playback statistics component.
the downside of the official component is that as far as i know it also updates the %added% value when i move my files from on folder to another but i want to add the %added%-tag to my files only once when i first listen to them..
Frank Bicking
Feb 14 2009, 14:28
QUOTE (tomthomson @ Feb 14 2009, 14:22)

(...) i want to add the %added%-tag to my files only once when i first listen to them..
Sounds like you want %first_played% instead, which is also stored by the playback statistics component.
tomthomson
Feb 17 2009, 12:23
ok, perhaps i should have written:
i want to add the %added%-tag to my files only once and the tag should be equal for all the files i add at a certain time (e.g. for all tracks of an album)
so the time of %added% and the time a track being first played differs since i add the added tag first and then listen to the tracks for the first time
baroughter
Feb 18 2009, 20:06
i'd rather not use the playback statistics module, as it encodes the timestamp in win32 filetime, which is not human readable, and not compatible with various linux scripts i use.
so for now i am just using cwb_hooks. works fine, except for the warning message.
i also realized there were a lot of great features in cwb_hooks -- like variables for the current playing playlist, playlist length, etc. of course, they don't work anymore.
ladiko
May 25 2009, 09:43
uhh great, the new files tagger =D
thank you fbuser!
but i also "need" a variable for the current date + time to add it as %added% tag, so i can have a autoplaylist with all new added files - played or not played - like %cwb_systemdatetime%
q-stankovic
May 25 2009, 19:28
Ladiko,
What's wrong with the official playcount component - mainly as it it is so much easier to save that info?
ladiko
May 26 2009, 07:12
because:
* it writes the information on the first playback, so in real it is not the "added" tag but the "first played" tag
* it writes the information to a separate file and not to the file, this is why i use foo_playback_custom
* the timestamp tags of the official playcount are unreadable, but thats not the biggest problem
* i want to have an autoplaylist of all new to the media library added songs to play them - i dont want a autoplaylist of all first time played tracks
eradumvelhinho
May 26 2009, 07:23
QUOTE (ladiko @ May 26 2009, 01:12)

because:
* it writes the information on the first playback, so in real it is not the "added" tag but the "first played" tag
* i want to have an autoplaylist of all new to the media library added songs to play them - i dont want a autoplaylist of all first time played tracks
That's not correct. You have a %added% field in this component. It's the time that the file was first added to the database and NOT the time the file was first pllayed (that's %first_played%).
So you can do a search like:
%added% DURING LAST 1 WEEK SORT DESCENDING BY %added%
and you will get all the files that you added to the database in the last week
this would mean that all my tracks in the media library should have an %added% tag?! but if i configure Preferences -> Advanced -> Display -> Properties Dialog -> Standard fields to
CODE
Artist=ARTIST;Title=TITLE;Album=ALBUM;Track=TRACKNUMBER;Total Tracks=TOTALTRACKS;Disc=DISCNUMBER;Total Discs=TOTALDISCS;Date=DATE;Genre=GENRE;Comment=COMMENT;Album Artist=ALBUM ARTIST;Composer=COMPOSER;Performer=PERFORMER;Added=ADDED;First Played=FIRST_PLAYED;Last Played=LAST_PLAYED;Play Counter=PLAY_COUNTER
the property field "Added" is empty for a file that is in the monitored media library path since about 2 weeks?!
by the way, if it works: how to create a file tag from this media library meta tag?
eradumvelhinho
Jun 4 2009, 22:01
QUOTE (ladiko @ Jun 4 2009, 12:18)

this would mean that all my tracks in the media library should have an %added% tag?
by the way, if it works: how to create a file tag from this media library meta tag?
%ADDED_TIMESTAMP% it's the name of the field. A file tag? You mean writing in the file? If you synchronize (preferences--> advanced--> tools-->playback statistics) you will get what you want.
ahh! i use Playback Statistics Custom - that's why i doesnt have an added date!?
eradumvelhinho
Jun 5 2009, 11:05
QUOTE (ladiko @ Jun 5 2009, 00:24)

ahh! i use Playback Statistics Custom - that's why i doesnt have an added date!?
You have to use the official one, if you want the field %added_timestamp%
everything i want is a variable for the current time
everything else is only a workaround.
Fractal_Mortality
Jun 6 2009, 20:25
How does one configure this plugin to automatically tag the "%added%" field when adding songs to library?
ladiko
Jun 30 2009, 08:20
ok now it's near!

QUOTE (www.foobar2000.org)
Latest news
2009-06-21
Multiple optional components have been updated.
Masstagger (version 1.8.2): Added %now% in "format from other fields", various cosmetic changes.
1.) Masstagerclear all other actions
Add -> Format value from other field:
destination field name: ADDED
formatting pattern: $if2(%added%,%now%)
ok
name it f.e. "Add added date" in the lower part of the window and save it
2.) New file taggerFile -> Preferences -> Tools -> New File Tagger
Select "Tagging\Scripts\Add added date" from the list.
BUT: there is a bug!
it only shows the current time if you add or edit the tagging rule "format value from other field". if you load a saved script or just run it from the files context menu, it will only write ADDED="?"
ladiko
Jun 30 2009, 08:25
ok now it's near!

QUOTE (www.foobar2000.org)
Latest news
2009-06-21
Multiple optional components have been updated.
Masstagger (version 1.8.2): Added %now% in "format from other fields", various cosmetic changes.
1.) Masstagerclear all other actions
Add -> Format value from other field:
destination field name: ADDED
formatting pattern: $if2(%added%,%now%)
ok
name it f.e. "Add added date" in the lower part of the window and save it
2.) New file taggerFile -> Preferences -> Tools -> New File Tagger
Select "Tagging\Scripts\Add added date" from the list.
But there is a bug: Masstager 1.8.2 - Bug in new variable %now%
ladiko
Jun 30 2009, 09:57
Bug fixed in Masstager 1.8.3
Fractal_Mortality
Oct 29 2009, 14:38
Is there any way to have this component do multiple actions to incoming files?
Example:
-Scan Files for Replaygain
-Fix Mp3 VBR Header
-Add "Added" date
ladiko
Oct 29 2009, 15:47
only tagging is possible.
Fractal_Mortality
Oct 29 2009, 22:00
No it's not, I already have it scan my incoming files with replaygain:
ladiko
Oct 29 2009, 22:51
ahh ok sorry, so it is capable of executing one context menu entry for the new files. so maybe it would be more helpful to have something like a makro recorder for foobar which also creates context menu entries that can be run by hand and by new files tagger?!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.