Page 1 of 1

Refresh Date Added?

Posted: Fri Oct 22, 2010 8:22 am
by jeremy
Hey Will--

I don't know what happened, but I recently clicked the update button after adding a couple albums to my music folder and Netjukebox lost date information. Now, clicking the "new" link under media gives me a (mostly) alphabetical list of my music, most of which I purchased a long time ago.

Is there a way to refresh this data, so that it reads from the "Date Modified" metadata in Windows Explorer? Or something similar? I practically live on the "new" section of Netjukebox, and this is kind of painful. :)

Thanks--
Jeremy

Re: Refresh Date Added?

Posted: Sat Oct 23, 2010 9:22 am
by wbartels
This can happen when creating a new database, than you will also loose genre and online status.
You will also loose the loose genre and new data when updating from an empty directory.

Restore a previous backup from the database and update again.
I hope you have made a backup from the netjukebox database.

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 2:17 pm
by wbartels
I have a found a solution for the upcomming netjukebox version!

When adding an album it will use the current time,
and if there is an existing xxxxxxxxx.id files than it will use the file modification time from that file.
The last step will only be taken when the album is not already in the database!

So when creating a new database it will use the file modification time from the xxxxxxxxx.id file.
And if you want to use the current time dan you can delete all xxxxxxxxx.id files and then update.

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 8:35 pm
by jeremy
Sounds good, but will there be a problem if I add a few albums over the course of a month, and don't update Netjukebox until the end of the month? Will they still be in the order I added them?

Also, is it possible to refresh this data across the entire database without creating a new database? Sadly, I have not backed up the database. (Doh!)

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 8:50 pm
by wbartels
jeremy wrote:Sounds good, but will there be a problem if I add a few albums over the course of a month, and don't update Netjukebox until the end of the month? Will they still be in the order I added them?
No
jeremy wrote:Also, is it possible to refresh this data across the entire database without creating a new database? Sadly, I have not backed up the database. (Doh!)
With the new version you can EMPTY the album database with phpMyAdmin and update again.
I have tested it and it works, still you will loose genre and popular information, but you have back the new album information!
I will release the new version shortly!

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 9:05 pm
by jeremy
FYI, I just deleted the Netjukebox database completely and rebuilt it from scratch, and the albums still aren't sorted properly under the "new" section. I'm using Windows 7 64-bit. Is something wrong on my end? Maybe I misunderstood, but I thought you said it would use the windows metadata if I wiped and restored the database. Hm... maybe this thread should be moved to Tech support. :)

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 9:08 pm
by wbartels
Download the new netjukebox 5.23, released a few minutes ago!

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 9:11 pm
by jeremy
wbartels wrote:Download the new netjukebox 5.23, released a few minutes ago!
Damn, you're quick. Downloading...

Re: Refresh Date Added?

Posted: Sun Oct 24, 2010 9:19 pm
by jeremy
wbartels wrote:Download the new netjukebox 5.23, released a few minutes ago!
Looks like it's working brilliantly. Thank you so much!