IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

2 Pages V   1 2 >  
Reply to this topicStart new topic
Request: file creation date and time
Robertina
post Apr 5 2009, 21:47
Post #1





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



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.


Go to the top of the page
+Quote Post
ktr
post Apr 6 2009, 08:54
Post #2





Group: Members
Posts: 57
Joined: 31-July 06
From: Germany
Member No.: 33495



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 wink.gif
(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

This post has been edited by ktr: Apr 6 2009, 08:56
Go to the top of the page
+Quote Post
ojdo
post Apr 6 2009, 11:22
Post #3





Group: Members
Posts: 894
Joined: 18-June 06
From: Germany
Member No.: 31980



QUOTE (ktr @ Apr 6 2009, 09:54) *
(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%)


This post has been edited by ojdo: Apr 6 2009, 11:23


--------------------
http://freemusi.cc/
Go to the top of the page
+Quote Post
ktr
post Apr 6 2009, 19:23
Post #4





Group: Members
Posts: 57
Joined: 31-July 06
From: Germany
Member No.: 33495



QUOTE (ojdo @ Apr 6 2009, 12:22) *
QUOTE (ktr @ Apr 6 2009, 09:54) *
(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%)




yeah thats nice, didnt know about that, thanks
Go to the top of the page
+Quote Post
Robertina
post Apr 7 2009, 05:31
Post #5





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



QUOTE (ktr @ Apr 6 2009, 01:54) *
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 wink.gif


@ 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.


Go to the top of the page
+Quote Post
2E7AH
post Apr 7 2009, 10:55
Post #6





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



playlist tree (mod) offers access to file creation time:

QUOTE
(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
Go to the top of the page
+Quote Post
Robertina
post Apr 7 2009, 20:58
Post #7





Group: Members
Posts: 1306
Joined: 4-January 09
Member No.: 65169



QUOTE
 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.
Go to the top of the page
+Quote Post
AKA-Mythos
post Sep 3 2012, 22:31
Post #8





Group: Members
Posts: 12
Joined: 16-August 12
Member No.: 102372



I highly need the %file_created% field too.

Are there any good news or even some plans for the upcoming beta?
Go to the top of the page
+Quote Post
Lesmo16
post Sep 4 2012, 06:54
Post #9





Group: Members
Posts: 56
Joined: 7-July 06
Member No.: 32645



QUOTE (AKA-Mythos @ Sep 3 2012, 22:31) *
I highly need the %file_created% field too.

me too
Go to the top of the page
+Quote Post
kavuraki
post Oct 22 2012, 09:20
Post #10





Group: Members
Posts: 1
Joined: 22-October 12
Member No.: 104016



The other awaiting one is me.
Go to the top of the page
+Quote Post
Fraterkork
post Jan 31 2013, 20:28
Post #11





Group: Members
Posts: 1
Joined: 31-January 13
Member No.: 106319



Add me to the list.
Being able to search/sort and show creation date would be useful indeed.
Go to the top of the page
+Quote Post
Dhry
post Mar 3 2013, 17:57
Post #12





Group: Members
Posts: 49
Joined: 26-March 03
From: Phoenix, AZ
Member No.: 5688



QUOTE (Fraterkork @ Jan 31 2013, 12:28) *
Add me to the list.
Being able to search/sort and show creation date would be useful indeed.

Me too.


--------------------
Dean-Ryan Stone
Go to the top of the page
+Quote Post
EpicForever
post Mar 17 2013, 19:11
Post #13





Group: Members
Posts: 706
Joined: 14-September 11
From: Szczecin, PL
Member No.: 93712



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.
Go to the top of the page
+Quote Post
marc2003
post Mar 17 2013, 22:04
Post #14





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



^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.
Go to the top of the page
+Quote Post
EpicForever
post Mar 17 2013, 22:11
Post #15





Group: Members
Posts: 706
Joined: 14-September 11
From: Szczecin, PL
Member No.: 93712



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.

This post has been edited by EpicForever: Mar 17 2013, 22:14
Go to the top of the page
+Quote Post
marc2003
post Mar 17 2013, 22:21
Post #16





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



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. tongue.gif

This post has been edited by marc2003: Mar 17 2013, 22:21
Go to the top of the page
+Quote Post
kaoruAngel
post Apr 4 2013, 03:28
Post #17





Group: Members
Posts: 22
Joined: 27-May 05
Member No.: 22323



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.
Go to the top of the page
+Quote Post
kaoruAngel
post Apr 4 2013, 04:24
Post #18





Group: Members
Posts: 22
Joined: 27-May 05
Member No.: 22323



QUOTE (kaoruAngel @ Apr 3 2013, 21:28) *
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.

This post has been edited by kaoruAngel: Apr 4 2013, 04:40
Go to the top of the page
+Quote Post
Propheticus
post Apr 4 2013, 11:31
Post #19





Group: Members
Posts: 219
Joined: 10-September 11
Member No.: 93615



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.)

This post has been edited by Propheticus: Apr 4 2013, 11:33
Go to the top of the page
+Quote Post
marc2003
post Apr 4 2013, 11:35
Post #20





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



if you install foo_playcount today, all your files get an %added% date of..... today. tongue.gif

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.

This post has been edited by marc2003: Apr 4 2013, 11:37
Go to the top of the page
+Quote Post
EpicForever
post Apr 5 2013, 05:49
Post #21





Group: Members
Posts: 706
Joined: 14-September 11
From: Szczecin, PL
Member No.: 93712



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.
Go to the top of the page
+Quote Post
Case
post Apr 6 2013, 22:23
Post #22





Group: Developer (Donating)
Posts: 2208
Joined: 19-October 01
From: Finland
Member No.: 322



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.
Go to the top of the page
+Quote Post
EpicForever
post Aug 18 2013, 21:43
Post #23





Group: Members
Posts: 706
Joined: 14-September 11
From: Szczecin, PL
Member No.: 93712



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 sad.gif
Go to the top of the page
+Quote Post
marc2003
post Aug 18 2013, 22:40
Post #24





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



^a little reminder of an earlier post i made....

QUOTE (marc2003 @ Mar 17 2013, 22:04) *
^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. tongue.gif
Go to the top of the page
+Quote Post
EpicForever
post Aug 19 2013, 21:45
Post #25





Group: Members
Posts: 706
Joined: 14-September 11
From: Szczecin, PL
Member No.: 93712



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.
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: 22nd August 2014 - 11:42