Working as a composer I use foobar's tagging abilities to document the progress in my compositions or to update a to-do list for further jobs. In order to see the creation date of my files I notice it in the comment field but it would be more pleasant if it would exist a syntax like %file creation date% to read this automatically with the benefit that I could sort by this field.
Robertina.
i use "$cut(%last_modified%,10)" to sort my files after the day, lastmodified and creation date should be mostly the same, at least its here
(the cut,10 strips the last letters from the string, which is the time... the default format is as far as i can see it: yyyy-mm-dd hh-mm
e: dont know if this works in columns/playlists, in foo_facets it works almost perfect for me
(the cut,10 strips the last letters from the string, which is the time
This works, but there are functions to make this easier: $date(%last_modified%) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Title_Formatting_Reference#.24date.28time.29)
(the cut,10 strips the last letters from the string, which is the time
This works, but there are functions to make this easier: $date(%last_modified%) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Title_Formatting_Reference#.24date.28time.29)
yeah thats nice, didnt know about that, thanks
i use "$cut(%last_modified%,10)" to sort my files after the day, lastmodified and creation date should be mostly the same, at least its here
@ ktr,
@ ojdo,
thank you for your replies.
The problem is that for me the file creation date is more important than the date of last modification (%last_modified%) and both they are not identical as described above.
foobar2000 is capable of monitoring the media library even when it is not running and apparently communicates intensively with the file system. So I hope some day there will be a syntax delivering the file creation date as well, but I am not a programmer.
Robertina.
playlist tree (mod) (http://www.hydrogenaudio.org/forums/index.php?showtopic=64623) offers access to file creation time:
(file-creation filename) => returns the file creation in seconds...
(file-last-access filename) => see file-creation
(file-last-write filename) => see file-creation
i haven't done it, but posting request in playlist tree (mod) thread hopefully will result positive
posting request in playlist tree (mod) thread hopefully will result positive
2E7AH,
thank you for your hint.
Using foobar2000 since 2007 I have seen a lot of third party components whose development has been abandoned or which have been banned for some good reasons. So I am afraid of relying to much on them or on the wrong components and would rather see an implementation in foobar itself if the developers efforts for this are not too high. In addition this could satisfy those users who don't want accept an update of their file modifaction date on tagging action (a discussion I really don't want to restart here and not my point of view).
Therefore I would like to renew my request here, it would be wonderful if foobar could provide file creation date too and I hope this represents not only a single user opinion.
Robertina.
I highly need the %file_created% field too.
Are there any good news or even some plans for the upcoming beta?
I highly need the %file_created% field too.
me too
The other awaiting one is me.
Add me to the list.
Being able to search/sort and show creation date would be useful indeed.
Add me to the list.
Being able to search/sort and show creation date would be useful indeed.
Me too.
Hmmm... Last time I've read this thread I thought it is bit useless to have such field/variable. But today my friend came to me and I wanted to show him last additions to my collection. It was really hard because I couldn't sort files by %creation_time%, %creation_date% or however you name it. I had to open several order receipts/invoices from webshops and simply guess in case of ripped audio CDs and it took so many time... Someone can said that I could check it in Explorer but files are organised in many folders - mainly by releases and by artists and additionally/occasionally by styles and labels.
Add me to the list of those who are waiting for %creation_time% / %creation_date% variable. Ability of creation such coulmn and sorting playlist by date of file creation would be realy useful. Especially when you take to an account the fact that I love to update my tags with more detailed informations each time I play my music and my tagging scheme is still evolving and new "standard fields" are still coming and thus older often are changing their purpose a bit. Because of that I can't even approximate file creation date by file modification date... I think there are many other music lovers who are in similar situation.
^as you're updating your files regularly, perhaps you wouldn't mind adding your own custom date created tag? mp3tag can write this by using it's own %_file_create_datetime% field.
From user's point of view it is much more convenient to use file system as source for this information, rather than making another massive update of whole music library. Additionally using file system information allows me to sort files that doesn't support tagging like video files or many game music files, or files that shouldn't be modified for some reasons.
i totally agree. i can totally understand people not wanting to update file tags but seeing as this thread was started 4 odd years ago with no official response i thought i might post an idea of a workaround.
Ack. Add me to the list of people affected by the lack of this variable. I think I'm going to have to resort to using Windows Explorer's search parameters to dig up the selection of files created within the time period I want and plop them from there into my playlist. I rarely use this Windows featureset, but it should be fairly simple. If this ends up being a non-trivial task, I'll try to remember to find time to post a follow-up with a how-to.
Do note that no list of potential workarounds should negate the fact that the lack of existence of such a variable (particularly considering that %last_modified% /does/ exist) is a nuisance for some of us.
Ack. Add me to the list of people affected by the lack of this variable. I think I'm going to have to resort to using Windows Explorer's search parameters to dig up the selection of files created within the time period I want and plop them from there into my playlist. I rarely use this Windows featureset, but it should be fairly simple. If this ends up being a non-trivial task, I'll try to remember to find time to post a follow-up with a how-to.
Do note that no list of potential workarounds should negate the fact that the lack of existence of such a variable (particularly considering that %last_modified% /does/ exist) is a nuisance for some of us.
Win8's contextual Explorer 'ribbon' menus make things easier than in previous versions but still only expose the last modified date. There are always multiple ways to skin a cat, but I suggest this route for Win8 users: enter the text "datecreated:" into the search box of Explorer. From there forward, the OS UI wizardry will kick in and make the rest of the process obvious.
Just as an example (without even explaining what my problem/use case was), my final query text ended up being "datecreated:?12/?18/?2012 .. ?12/?31/?2012 kind:=folder" (along with a selection within the Search ribbon to limit my search to the current folder without recursing into the subfolders beneath). In my case, the availability of a creation date search facility allowed me to find 3857 music files versus the 3226 files found using my previous foobar2k-supported solution. Just some food for thought / anecdotal support towards the addition of this variable, Pete. :]
Cheers.
Wouldn't an autoplaylist with a query like this: "%added% DURING LAST 2 WEEKS SORT BY %added%, %album%, %disc%, %track%" do the same? If you create a file into a folder the media library is watching, this will also be the date you 'added' it. (only if you at least open Foobar2000 to update the library or have it running while you create it.)
if you install foo_playcount today, all your files get an %added% date of..... today.
i suppose if you used it from the very beginning of building your collection it would work. and of course it will work for any new files from now on.
The problem is that for example I use foobar from version 0.8.3 (I don't remember when it even was), but foo_playcount from about half of year and Media Library since maybe 2 months... And even if I would do this since the very beginning - still information from filesystem would be more accurate.
Just stopping by to let you know that Peter is aware of the request, but it can't be added nicely with the existing API.
Anyway, as a workaround I created my own DATE_ADDED field and.... I tagged less than 200 last additions to my library. I just opened several order receipts... and failed at first with just bunch of files instead of albums/singles/compilations. Those can be find by album name and single search results in tagging at least 2, but often 4-6 files at once. Searching for 40 files and adding the same date to them 40 times is bit boring... and if I recall that there were several orders with bunch of 60-80 tracks instead of releases... "Date created" from filesystem is a must. I tried to gather some info using file modification date and... DAMN... nearly all files on HDD were modified within one hour... Yes, I requested RG scan on all my files at 31-03-2013 and applied results to all files by single click... Hahahah... In this case suppressing change of file modification date would be an option (as suggested/requested by many users), but I don't like the idea of breaking filesystem rules/properties. When my PC was far slower I disabled changing/updating of last access and modification date on all HDDs using Windows registry entries but this is ancient history now. So we still wait for "%creation_date%" "added nicely", and in the meantime I will hardly try to open all my receipts... and read them... and write those dates
^a little reminder of an earlier post i made....
^as you're updating your files regularly, perhaps you wouldn't mind adding your own custom date created tag? mp3tag can write this by using it's own %_file_create_datetime% field.
i think this beats doing it manually.
There is one problem. Since my fist Beatport purchase my music collection moved several times: 250GB HDD -> 500 GB HDD -> 2TB HDD -> 3 TB HDD (don't worry, that was only "cosmetic change" and "Music" is not the only partition on 3 TB HDD). The problem is that during all these operations creation date has changed. Modification date remain unchanged (since last tagging operation so it was still imprecise) - but only till 31-03-2013 when I performed massive RG scanning and updating. So today dates taken from filesystem are mostly useless to me... Only files from maybe last year have "proper" creation dates. But it is also bit imprecise if I want to use those dates as "Added to collection date" - as FLACs could be produced even 2 weeks after they got downloaded as AIFFs... Other problem is how to pick now those with proper dates and improper dates... Updating whole library is in this case only a problem in my eyes. With the current meaning of "DATE_ADDED" in my foobar config I need to add those dates manually. Anyway I still think that in most cases creation date would be very useful variable in many situations and for many users. I keep in mind Case's words but I also hope that it can be overcome and such variable will become available one day. I don't plan another moving between HDDs as now I have a lot of spare space for music. So now those creation dates will be quite proper and could be useful.
To get the creation time stamp of the file from the file system is the only one solution and correct info to get the latest file added on hard disc.
The last-modification time stamp does not help because we always keep our tags up-to-date and have to update our older files very often (e.g. I update the GROUPING tag with info in which "crate" the file is - using the info for djing with Serato).
I recently requested the last modification and creation timestamp for Tag & Rename and they have implemented both now in 3.7. :-)
Beside an "it-would-really-great" it is more a "must-have" to have the creation time stamp information.
E.g. I want to listen to my latest files I got in the office beside my main job as software developer. So sorting by creation time stamp is the only one help.
Thanks a lot!
Solution:
http://forums.mp3tag.de/lofiversion/index.php/t6668.html (http://forums.mp3tag.de/lofiversion/index.php/t6668.html)
I created a new Tag "rows-title": "DateByCreate"
And fill the CreateingDate into it.
In Foobar:"DateByCreate" can be showed
Cheers
reselty
me too would a %file creation date%
This might be a solution: just add a FIELD + VALUE to every tag.
for example:
<NUMBER> 20131227 (Bigger number = newer file.)
This "number" holds date information: 2013, december, day 27
but numbers like 0001 0002 0003 0004 etc. will also work of course.
I don't know how the search function in Foobar2000 works, so this is just a shot in the dark.
I'd like to avoid additional tag for information already.
I use this workflow for the last couple of years and it works very fine for me:
1. For adding a file creation date there is a component foo_filedate which seems to be from 2007 but still works very fine:
foo_filedate.dll (2007-09-19 11:07:14 UTC)
File date 1.0.4
From the components properties:
Right-click and add a file date tag.
Use config page to choose date format.
For foobar2000 v0.9.x
Created by Vassilis Androutsopoulos.
Ported by T.P. Wang
Build on: Sep 19 2007 - 19:07:00
With a right on a file it creates a file tag %created% with the file creation date yyyymmdd.
2. For adding an added to library date tag I use the foo_new_file_stamper_mod
foo_new_file_stamper_mod.dll (2008-12-21 00:05:19 UTC)
New file stamper 1.0.0 [Dec 21 2008 - 01:05:11]
From the components properties:
Component, which let you apply an action to new files in the library
By Christopher Bowron <chris@bowron.us>
Recompiled by Juergen Palm <fbuser@web.de>
This allows you to perform a tagging action for every new file added to the library.
I created a script "added":
$if(%added%,%added%,%now%)
This will write YYYY-MM-DD HH:MM:SS into the file tag.
I use this %added% tag for all kind of things. It enables me to sort the library and I even do tweeks like having a script for ipod manager where I write the YYYY-MM into the componist field so that I can access the music on my ipod by month added.
In order to update a whole library one could copy over the %created% tag to the %added% tag taking into account the different formats YYYY-MM-DD and YYYYMMDD
The advantage for me to have hard coded date fields is that once a file changes let's say you convert from ape to flac the created / added tag will convert as well.
If any further advice is needed on this topic I'll be glad to help.
^a little reminder of an earlier post i made....
^as you're updating your files regularly, perhaps you wouldn't mind adding your own custom date created tag? mp3tag can write this by using it's own %_file_create_datetime% field.
i think this beats doing it manually.
I did this; created a coloumn and just being kind by sharing it with you. If the file doesn't have the meta tag, it gives tha last modified value. I converted the last modified date to the format the mp3tag tagged my files. I'm sure everybody did this, I just wanted to fasten your work.
$if($meta(file created)(),$meta(file created),$year(%last_modified%)'.'$month(%last_modified%)'.'$day_of_month(%last_modified%). $time(%last_modified%)))
Although old topic, +1 vote.
File Date Time (foo_file_datetime.dll)
https://download1.getuploader.com/g/5f6c7b4e-36b8-450e-9a24-7240a010e467/foobar2000/160/foo_file_datetime_v1.02.7z
「ダウンロード」Button click → Next page 「Download Now」Button click → Download
Although old topic, +1 vote.
Thanks for bumping this thread, I've been looking for a solution to this in custom columns for a while but couldn't find the appropriate tags. Does Air KEN's component work properly? Is it available on GitHub?
For example.
Menu > Library > Search
ALL SORT DESCENDING BY %file_created%
...click > Create Auto Playlist
Autoplaylist Properties > Sort pattern:
$sub(99999999,$replace(%file_created%,-,)) - $swapprefix(%album artist%) - $sub(3000,%date%) - %album% - %discnumber% - %tracknumber% - %title%
or $swapprefix(%album artist%) - $sub(3000,%date%) - %album% - %discnumber% - %tracknumber% - %title%
Add: Playlist View> Column > $date(%file_created%)
File Date Time (foo_file_datetime.dll)
https://download1.getuploader.com/g/5f6c7b4e-36b8-450e-9a24-7240a010e467/foobar2000/160/foo_file_datetime_v1.02.7z
「ダウンロード」Button click → Next page 「Download Now」Button click → Download
@Air KEN, thank you for the help, it works.
File Date Time (foo_file_datetime.dll)
https://download1.getuploader.com/g/5f6c7b4e-36b8-450e-9a24-7240a010e467/foobar2000/160/foo_file_datetime_v1.02.7z
「ダウンロード」Button click → Next page 「Download Now」Button click → Download
Okay just tried it, it works! Yay! Would be cool though if Peter could add this functionality to foobar in the default install.
...Would be cool though if Peter could add this functionality to foobar in the default install.
Agree. I can not remember exactly, what it was, but approximately a year ago i ran into a problem, caused by too many plugins. That is, it would be good to put as many important things into the foobar itself, as possible, so we do not have to install another plugin because of such petty things.
Noted, will add eventually.
It's not as easy as it might seem because various internal data structures hold file size & last modified, no creation time, and I can't just change them without breaking things.
And let's not forget that every file input is currently designed to return that information itself, and currently does so with said size/last_modified structure.
I suppose it would be easier for Peter to include this functionality in foobar, if Air KEN open sourced his component.
Or authors simply need to update their components to a newer SDK.
Or authors simply need to update their components to a newer SDK.
What are you talking about? The component works fine in latest foobar. What I was pointing out is that if the component was open source, it would be easier for Peter to study how it works and replicate its functionality (without using its code of course).
I'm not developer.
------
https://ux.getuploader.com/foobar2000/download/145
「ダウンロード」Button click → Next page 「Download Now」Button click → Download
foo_file_datetime_v1.01.7z
foo_file_datetime_v1.01
-ReadMe.txt
-foo_file_datetime.fb2k-component
-source.7z
foo_file_datetime_v1.02.7z
foo_file_datetime_v1.02
-ReadMe.txt
-foo_file_datetime.fb2k-component
-source.7z
---------------------
%file_created%
%last_accessed%
What are you talking about? The component works fine in latest foobar. What I was pointing out is that if the component was open source, it would be easier for Peter to study how it works and replicate its functionality (without using its code of course).
I think he talked about this
I can not remember exactly, what it was, but approximately a year ago i ran into a problem, caused by too many plugins.
Something we have since 1.4
- Compiled using dynamic VC runtime, raising the limit of how many component DLLs can be loaded.
Who are affected: foo_file_datetime component (https://hydrogenaud.io/index.php?topic=121609.msg1003776#msg1003776), updated