Jump to content

music: link to album is not (fully) correct anymore


Recommended Posts

plessers@gmail.com
Posted (edited)

Hi,

I recently upgraded to V 4.6.4.0

Now I noticed that, when I go to music --> folders --> click on an album, I'm redirected to:
https://myserver/web/index.html#!/list/list.html?parentId=209987&serverId=c15e29a3226b472faa47dd4bd028e4e6, that shows me a list of numers:

2021-11-01_22-39-21.thumb.png.19ee4b36b24b5b1f9d601f75ea472d6b.png

 

If I go to artist --> album, I'm redirected to

https://myserver/web/index.html#!/item?id=256197&serverId=c15e29a3226b472faa47dd4bd028e4e6

which shows me not only the songlist, but also some more information:

2021-11-01_22-44-04.thumb.png.28ecfbd1517f0e88d2a0930338803659.png

 

 

Question:

How can I show a list of recently added music albums, and when I click on an album, I will be redirected to the album info

 

kind regards,

Bart

 

 

Edited by plessers@gmail.com
plessers@gmail.com
Posted (edited)

mmmmmm,

I noticed what went wrong: apparently my music library has changed from type "music" to type "mixed content"!!!

Is this due the update???

Problem now: I created a new "music" library pointing to the some sources. Music is correctly indexed, but "date added" is not correct anymore.
As you can see here: "date added" is the timestamp the music was added to my new library = alphabetic:
 

Is there any way to solve this?

 

2021-11-02_8-35-32.thumb.png.7d05327b3fc58f690e7c4b6f63ae58be.png

PS: I used following setting:

2021-11-02_8-47-51.thumb.png.13a2092fccf62c894c83dc114feca91a.png

 

 

Edited by plessers@gmail.com
Posted

You should be able to fix your original music library following this guide:

 

Happy2Play
Posted
14 hours ago, plessers@gmail.com said:

I noticed what went wrong: apparently my music library has changed from type "music" to type "mixed content"!!!

Is this due the update???

Shouldn't be but there are a number or topics where this has happened.  But as I mentioned in other topics over time there was a change on how content type is handled so old install will not have content type in there library options.xml unless they have made edits to library options since the change a long time ago.

 

 

plessers@gmail.com
Posted

Hi @cayars,

 

thanx for the help, changing the options.xml did the trick.

However.....

  1. I had a music-library: "MUZIEK"
  2. there was some corruption (due to update?)
  3. I added a NEW library: "MUZIEK-NEW" (pointing to the same path's defined in the library "MUZIEK")
  4. this introduced a library scan, and "date added" was modified: the scan was scanning all my music (sub)folders alphabetically, so artists starting with "z" were last added
  5. with your tip above, I modified "options.xml" of "MUZIEK" --> library changed content type indeed, but metadata i.e. "date added" was overwritten by previous scan.
  6. I removed the library "MUZIEK-NEW"
  7. a new scan was introduced with same logic: scanning the main directory alphabetically, so ZZ-top is again "last added"

I suppose I've lost this metadata ("date added") 😞

Maybe a suggestion:
if I sort my library in the folder-view by "Date added"; 

2021-11-10_17-50-54.thumb.png.79f1d1e70e818c6c34b5522eb7148876.png

the sortorder is correct (don't look at the ugly icons, the library scan is still running now.... 🙂 ):
2021-11-10_17-51-18.thumb.png.2c610680c20f3477d846340b2d34a4a8.png

 

Maybe one can refine the logic of the library scanner so that the date of the folder is taken into account when scanning?
This should be possible, as it is already now for songs: If I view my songs sorted by "Date Added", the order is correct! (based on file datestamp)

Maybe for a next release? 
It would be a great advantage because then, in case of corruption/new instance, this info is at least respected.

 

kind regards,

Bart

 

 

Posted

Check out this setting and see if it will help.

image.png.4c97aeff56f18f9e99d1eb0b5b7d768a.png

Posted

Hi

22 hours ago, cayars said:

Check out this setting and see if it will help.

image.png.4c97aeff56f18f9e99d1eb0b5b7d768a.png

This setting doesn't impact album date added, as noted above the song/track will use it. emby uses the date the tracks are consolidated into the album, which is "correct" for new music. If like above you create a new music library or rebuild the library all albums will be given a date added of the current date.

This can be fixed a couple of ways... @Luke ?

Below is one mitigation. The folder date is really the date the album dateAdded.

23 hours ago, plessers@gmail.com said:

Maybe one can refine the logic of the library scanner so that the date of the folder is taken into account when scanning?

Generally emby relies on metadata files nfo's or xml stored with the media to handle things like this, but as Luke is aware for music these metadata files are created, but not read.

See the following thread. https://emby.media/community/index.php?/topic/100516-will-reading-music-nfos-and-writing-be-in-this-beta-cycle/

-vicpa

Posted

In the upcoming 4.7 the album will get the same date added as the first song that was imported into the database, so that option should work fine.

Posted

@Luke

1 hour ago, Luke said:

In the upcoming 4.7 the album will get the same date added as the first song that was imported into the database, so that option should work fine.

That is a nice improvement. But of course I have a question, 😀

Updating/correcting tags 

There is a setting in Picard to maintain the file creation date so if I update or correct a tag I can control that.  The real-time monitor will not detect that the file has changed , that's ok also.

My question is will this setting pick up the changes if the file date hasn't changed?

1975277167_Screenshot2021-11-11132949.thumb.jpg.e9b22c23afaeaabd47bc006b7d475245.jpg

 

I wouldn't want to do a full refresh as there are still elements that are only in the nfo. Description and custom tags come to mind.

Hopefully that setting is not date driven.

 

Thanks!

-vicpa

 

Posted

We don't currently change the date added based on the file changes. It's possible for the future. thanks.

  • 3 weeks later...
plessers@gmail.com
Posted
On 11/11/2021 at 18:02, Luke said:

In the upcoming 4.7 the album will get the same date added as the first song that was imported into the database, so that option should work fine.

Hi @Luke,

I suppose this means 4.7 as you mentioned, and not 4.6.7 as I was hoping for?

 

grtz

B

 

plessers@gmail.com
Posted
On 11/11/2021 at 18:02, Luke said:

In the upcoming 4.7 the album will get the same date added as the first song that was imported into the database, so that option should work fine.

Hi @Luke,

another question: what date will you taken into account?  "Date modified" or "Date created"?
I'm just asking because if you copy an album from one folder to another folder, the tracks in the folder will have "Date created" as date from the copy action, and "Date modified" will be the "original" date:

2021-11-29_19-02-15.png.4d1cac75af969be3810376bcb59fb8b1.png

 

In my case "Date modified" would be the preferabele date for the album. (Although I can imagine that others want "Date Created"...)

 

grtz

B

 

 

 

Posted

The date that comes from the advanced library option to control where date added comes from.

Happy2Play
Posted

That is the defect of COPY as that is the date that file was created not the original unless you use tools/options that preserve original file timestamps.  But applying embedded metadata changes modified date.  So there is no true method that will work for everyone.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...