gmusicbrowser Forum

Main board => Questions => Topic started by: publicradio on March 06, 2021, 00:49:45

Title: How to fudge the date added
Post by: publicradio on March 06, 2021, 00:49:45
I migrated to gmusicbrowser in 2017. Before that, I used Songbird, since about 2013. From 2013 to 2017, I have playlists indicating what month a song was added. However, gmusicbrowser shows them all as being added in January 2017.

My question is whether I can trick gmusicbrowser into thinking these songs were added before they actually were. This would make it easier for me to use smart playlists and weighted random.
Title: Re: How to fudge the date added
Post by: Quentin Sculo on March 06, 2021, 23:57:54
There is no easy (via gui) way to do it, but you can either edit the gmbrc file with a script, each song is one line, fields are tab separated, dates are in unix time (seconds since epoch). Otherwise I can give you a command-line that sets the date for a song, still needs a script though.
If you don't know how to make the script I can help you, just give me an example of your playlist that contains the dates.
Title: Re: How to fudge the date added
Post by: publicradio on April 18, 2021, 20:56:18
Quentin, thanks for the quick reply. Sorry, I did not get a notification that you replied. Do you want me to save a playlist, then go into gmbrc file and find it, then paste it the way it's represented in that file?
Title: Re: How to fudge the date added
Post by: Quentin Sculo on April 23, 2021, 21:52:39
No just send me one of the "playlists indicating what month a song was added". I'm not quite sure what you mean by that, does the file contains a date for each song, of is it the playlist itself that is named after the date? I need to know how to get the date from the playlist.