[REQ] Import "Date modified" for "Date"

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderators: Gurus, Addon Administrators

Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

[REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

Hey guys. I'm actual organizing a great bunch of private mobilephone clips from vacation and bycycle tours of the last years. I would save a great bunch of work, if I can import the "date modified" value of the files for the "Date" value of the clip in Media Monkey. Is there a addon that can do this easily or can someone easily build me something to do this? That would be very nice und great for a fast paced workflow!
IanRTaylorUK
Posts: 190
Joined: Fri Dec 27, 2019 4:41 pm

Re: [REQ] Import "Date modified" for "Date"

Post by IanRTaylorUK »

There is an "Add-On" called RegExp Find and Replace that has a preset to "Swap <From Field> and <Into Field>" but I think the preset you might want to try first is "Move <From Field> to <Into Field>..." or "Assign date/time when file is created to <Into Field>..."

You will have to try the RegExp options and see which is best for you. Once the add-on is installed, you select the files / right click for RegExp (towards the bottom of the options) and select Specific Manipulations then select "Assign...." and it will apply to all the selected files.

In my case, I run the add-on using MMW4 and then rescan to get the information into MMW5.

I think you can search the forum to get to web site for the Add-On.

Hope this helps.
Ian Taylor
MM4W 4.1.29.1919 (Normal 12Feb2021) on Windows 10 Pro 64 Bit (v21H1 Build 19043.1110)
Add-Ons:Export / Import Playlists for Child Nodes; Magic Nodes; RegExp Find and Replace; Tagging Inconsistencies
Music library of 33,822 files (D:\) backed up to OneDrive
MMA 1.4.4.0952 on Sony Xperia XZ with Android 8 & ~15,000 Tracks in 925 Playlists
MMA 1.4.4.0952 on Samsung Tab S5e with Android 9 & ~15,000 Tracks in 925 Playlists
XZ synchronised with MM4W using USB; S5e synchronised with MM4W using USB
Trying MM5W 5.0.1.2422 (Normal 19Jul2021) on same Windows 10 PC with a copy of media files (E:\) (and separate library database for each major version!)
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

IanRTaylorUK wrote: Tue May 18, 2021 11:02 am Hope this helps.
Thanks I will give it a try :)
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

Unfortunately the Expansion don't work for me. The "Last Modified Date" is a property of the file and don't have a value field in Media Monkey but the RegExp seems only use the value-fields in MM. So i'm still searching an option importing this date as a value for the "Date"-Value-Field in Media Monkey.
IanRTaylorUK wrote: Tue May 18, 2021 11:02 am There is an "Add-On" called RegExp Find and Replace that has a preset to "Swap <From Field> and <Into Field>" but I think the preset you might want to try first is "Move <From Field> to <Into Field>..." or "Assign date/time when file is created to <Into Field>..."

You will have to try the RegExp options and see which is best for you. Once the add-on is installed, you select the files / right click for RegExp (towards the bottom of the options) and select Specific Manipulations then select "Assign...." and it will apply to all the selected files.

In my case, I run the add-on using MMW4 and then rescan to get the information into MMW5.

I think you can search the forum to get to web site for the Add-On.

Hope this helps.
IanRTaylorUK
Posts: 190
Joined: Fri Dec 27, 2019 4:41 pm

Re: [REQ] Import "Date modified" for "Date"

Post by IanRTaylorUK »

Have you tried the option:

Assign date/time when file is created to <Into Field>...

I am not certain if this option is in the "demo" version or whether it is only in the "paid/donation" version.

I have since been able to try this and it works for a few of my MP3s.
Ian Taylor
MM4W 4.1.29.1919 (Normal 12Feb2021) on Windows 10 Pro 64 Bit (v21H1 Build 19043.1110)
Add-Ons:Export / Import Playlists for Child Nodes; Magic Nodes; RegExp Find and Replace; Tagging Inconsistencies
Music library of 33,822 files (D:\) backed up to OneDrive
MMA 1.4.4.0952 on Sony Xperia XZ with Android 8 & ~15,000 Tracks in 925 Playlists
MMA 1.4.4.0952 on Samsung Tab S5e with Android 9 & ~15,000 Tracks in 925 Playlists
XZ synchronised with MM4W using USB; S5e synchronised with MM4W using USB
Trying MM5W 5.0.1.2422 (Normal 19Jul2021) on same Windows 10 PC with a copy of media files (E:\) (and separate library database for each major version!)
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

Date of Creation wouldn't work because they are copies, so the date of creation is the date, when i copied them, but the Date of Last Modified is the date, where the files are really created. I have files with the a creation date of the 10th of February 2021 that are last modified 18th of June 2019. The Modified date in this case the date, when I take the clip. So I need the Last Modified Date instead of Creation date.

If i don't missed it out in the list, there isn't a preset for it. :(
IanRTaylorUK wrote: Tue May 18, 2021 2:10 pm Have you tried the option:

Assign date/time when file is created to <Into Field>...

I am not certain if this option is in the "demo" version or whether it is only in the "paid/donation" version.

I have since been able to try this and it works for a few of my MP3s.
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

Other problem: I tested something with this option. He is indeed taking the creation not the modified date. That's still a problem.

Other problem: I can assign it to the timestamp but I can't copy it from the timestamp into the date-value with the RegExp because the value I assign from the files not only have the date but also the time and that gives me an error message. If I copy the timestamp with the addon in the comments section first it works. And if I copy the value by myself in the date field, he only takes the date and deletes the time automatically, but using the copy preset of RegExp give me the same error message if I want copy it directly frome the timestamp.
IanRTaylorUK
Posts: 190
Joined: Fri Dec 27, 2019 4:41 pm

Re: [REQ] Import "Date modified" for "Date"

Post by IanRTaylorUK »

Hi Archiv-Cowboy,

In this case it might be worth contacting Zvezdan to see if there is a way to achieve what you want or for it to be added in a future update.

I think there might be a DateLastModified property that could be used instead of DateCreated

Hope this helps.
Ian Taylor
MM4W 4.1.29.1919 (Normal 12Feb2021) on Windows 10 Pro 64 Bit (v21H1 Build 19043.1110)
Add-Ons:Export / Import Playlists for Child Nodes; Magic Nodes; RegExp Find and Replace; Tagging Inconsistencies
Music library of 33,822 files (D:\) backed up to OneDrive
MMA 1.4.4.0952 on Sony Xperia XZ with Android 8 & ~15,000 Tracks in 925 Playlists
MMA 1.4.4.0952 on Samsung Tab S5e with Android 9 & ~15,000 Tracks in 925 Playlists
XZ synchronised with MM4W using USB; S5e synchronised with MM4W using USB
Trying MM5W 5.0.1.2422 (Normal 19Jul2021) on same Windows 10 PC with a copy of media files (E:\) (and separate library database for each major version!)
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

IanRTaylorUK wrote: Wed May 19, 2021 4:23 am Hi Archiv-Cowboy,

In this case it might be worth contacting Zvezdan to see if there is a way to achieve what you want or for it to be added in a future update.

I think there might be a DateLastModified property that could be used instead of DateCreated

Hope this helps.
It seems he disabled the PM Function. So I can't ask him directly :-?
Archiv-Cowboy
Posts: 21
Joined: Tue May 05, 2020 2:40 pm

Re: [REQ] Import "Date modified" for "Date"

Post by Archiv-Cowboy »

Problem ist partly solved "Timestamp" is what RegEXP recognize as "Last Modified". I can simply copy it in each value field I want. But there is still the problem, that the timestamp takes not only the but the exact time, so I can't copy it directly in the date value field, because this doesn't support time.

So first of all I auto-copy the timestamp in the comment-field. If I can't find another solution, I think I have to copy it per hand from comment into the date field. But this is better than before.
crap_inhuman
Posts: 883
Joined: Sat Jan 26, 2013 6:00 am
Location: Friedberg / Hessen / Germany
Contact:

Re: [REQ] Import "Date modified" for "Date"

Post by crap_inhuman »

Archiv-Cowboy wrote: Wed Jun 02, 2021 11:57 am Problem ist partly solved "Timestamp" is what RegEXP recognize as "Last Modified". I can simply copy it in each value field I want. But there is still the problem, that the timestamp takes not only the but the exact time, so I can't copy it directly in the date value field, because this doesn't support time.

So first of all I auto-copy the timestamp in the comment-field. If I can't find another solution, I think I have to copy it per hand from comment into the date field. But this is better than before.
Hi,

do you still need something to copy the Last Modified Date into the date field?
Metal up your ass !
-----------------------------------------------
I added my first 2 videos on youtube. The language is german.

Discogs Autorisierung: https://www.youtube.com/watch?v=oryxKKtnEnc
Discogs Tagger Bedienung: https://www.youtube.com/watch?v=85Wk-5rd-W0
Post Reply