IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
foo_new_file_stamper_mod, Extraction of the new file tagger from foo_cwb_hooks
fbuser
post Dec 21 2008, 01:12
Post #1





Group: Developer
Posts: 673
Joined: 26-September 07
Member No.: 47369



As promised here, I extracted the new file tagger from foo_cwb_hooks.

Download: Attached File  foo_new_file_stamper_mod.7z ( 56.53K ) Number of downloads: 748


It is only a maintenance release without any changes.

This post has been edited by fbuser: Jun 30 2009, 19:15
Go to the top of the page
+Quote Post
baroughter
post Jan 26 2009, 20:54
Post #2





Group: Members
Posts: 13
Joined: 23-February 08
Member No.: 51550



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.
Go to the top of the page
+Quote Post
baroughter
post Jan 26 2009, 20:56
Post #3





Group: Members
Posts: 13
Joined: 23-February 08
Member No.: 51550



oops, I just realized I also need the "Stamp Time and Date" function from cwb_hooks also. Is this available from a different component?
Go to the top of the page
+Quote Post
fbuser
post Jan 28 2009, 21:54
Post #4





Group: Developer
Posts: 673
Joined: 26-September 07
Member No.: 47369



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.
Go to the top of the page
+Quote Post
tomthomson
post Feb 14 2009, 14:22
Post #5





Group: Members
Posts: 81
Joined: 4-July 06
From: Erfurt, Germany
Member No.: 32538



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..
Go to the top of the page
+Quote Post
Frank Bicking
post Feb 14 2009, 14:28
Post #6





Group: Super Moderator
Posts: 1823
Joined: 24-July 02
Member No.: 2776



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.


--------------------
foobar2000.audiohq.de
Go to the top of the page
+Quote Post
tomthomson
post Feb 17 2009, 12:23
Post #7





Group: Members
Posts: 81
Joined: 4-July 06
From: Erfurt, Germany
Member No.: 32538



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
Go to the top of the page
+Quote Post
baroughter
post Feb 18 2009, 20:06
Post #8





Group: Members
Posts: 13
Joined: 23-February 08
Member No.: 51550



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.
Go to the top of the page
+Quote Post
ladiko
post May 25 2009, 09:43
Post #9





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



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%

This post has been edited by ladiko: May 25 2009, 09:45
Go to the top of the page
+Quote Post
q-stankovic
post May 25 2009, 19:28
Post #10





Group: Members
Posts: 1717
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



Ladiko,

What's wrong with the official playcount component - mainly as it it is so much easier to save that info?


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
ladiko
post May 26 2009, 07:12
Post #11





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



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

This post has been edited by ladiko: May 26 2009, 07:16
Go to the top of the page
+Quote Post
eradumvelhinho
post May 26 2009, 07:23
Post #12





Group: Members
Posts: 101
Joined: 23-March 07
Member No.: 41759



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
Go to the top of the page
+Quote Post
ladiko
post Jun 4 2009, 18:18
Post #13





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



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?

This post has been edited by ladiko: Jun 4 2009, 18:22
Go to the top of the page
+Quote Post
eradumvelhinho
post Jun 4 2009, 22:01
Post #14





Group: Members
Posts: 101
Joined: 23-March 07
Member No.: 41759



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.
Go to the top of the page
+Quote Post
ladiko
post Jun 5 2009, 06:24
Post #15





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



ahh! i use Playback Statistics Custom - that's why i doesnt have an added date!?
Go to the top of the page
+Quote Post
eradumvelhinho
post Jun 5 2009, 11:05
Post #16





Group: Members
Posts: 101
Joined: 23-March 07
Member No.: 41759



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%
Go to the top of the page
+Quote Post
ladiko
post Jun 5 2009, 12:27
Post #17





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



everything i want is a variable for the current time laugh.gif

everything else is only a workaround.
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Jun 6 2009, 20:25
Post #18





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



How does one configure this plugin to automatically tag the "%added%" field when adding songs to library?


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
ladiko
post Jun 30 2009, 08:20
Post #19





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



ok now it's near! biggrin.gif

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.) Masstager
clear 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 tagger
File -> 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="?"

Go to the top of the page
+Quote Post
ladiko
post Jun 30 2009, 08:25
Post #20





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



ok now it's near! biggrin.gif

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.) Masstager
clear 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 tagger
File -> 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%

This post has been edited by ladiko: Jun 30 2009, 08:28
Go to the top of the page
+Quote Post
ladiko
post Jun 30 2009, 09:57
Post #21





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



Bug fixed in Masstager 1.8.3
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Oct 29 2009, 14:38
Post #22





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



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


--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
ladiko
post Oct 29 2009, 15:47
Post #23





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



only tagging is possible.
Go to the top of the page
+Quote Post
Fractal_Mortalit...
post Oct 29 2009, 22:00
Post #24





Group: Members
Posts: 374
Joined: 20-June 05
Member No.: 22863



No it's not, I already have it scan my incoming files with replaygain:



--------------------
http://www.last.fm/user/magnumforce2006
Go to the top of the page
+Quote Post
ladiko
post Oct 29 2009, 22:51
Post #25





Group: Members
Posts: 103
Joined: 27-June 05
From: Berlin
Member No.: 22987



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?!
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th April 2014 - 08:43