Solved Album art with UPnP
#6
(2020-04-09, 15:08)black_eagle Wrote:
(2020-04-09, 11:31)sba923 Wrote: 1. the storage tree (currently 8,100+ songs, 622 artists, 605 albums, in 701 folders) would have to be accessed over SMB/CIFS, and enumerating that over Wi-Fi would take some time

Initially yes.  It will be quicker if you turn off 'fetch additional information during updates' and get that information overnight maybe, whilst the Pi isn't in use.  It depends on if you want that information too.  If not and your tags are decent, Kodi will build a library anyway.  Once it's done, the library is held locally on the Pi and the art will be cached there too. If the art doesn't change, Kodi will use the locally cached copy.  It will only need to access the files over smb when you play them.
 
(2020-04-09, 11:31)sba923 Wrote: 2. I was unsure how taking updates (file changes, additions, removals, moves...) into account would work: would Kodi need to re-enumerate the tree periodically? At each start?

No. You only need to update the library if you have changed something.  Also, if you haven't changed any tags you don't need to do the full tag scan and Kodi will just pick up removed/moved/added files.
(2020-04-09, 11:31)sba923 Wrote: Navigating such a large tree using the standard Kodi UI is rather inconvenient: the top-level list in Kodi is the list of artists,

That should be skin dependant, but I think you should have a look at 'nodes' which you can use to get exactly the behaviour that Twonky is giving you.  There are some examples in this thread https://forum.kodi.tv/showthread.php?tid=257378  Note that nodes are not skin dependant and that any skin should be able to use them although the initial method of navigation to them may vary. 

How would Kodi find out I have changed (maybe fixed a typo in some tag) or added some files (ripped a new CD) in the tree? Can it reliably depend on some "file system change notification" over SMB/CIFS (like TwonkServer does on the NAS's local filesystem)? What would happen when I restart the NAS? Is there a means to force a quick (filenames only) or full (file contents) rescan?

I might look into all this, although it would only be a way to reproduce the behavior I'm expecting from Kodi's UPnP client... with a non-negligible investment if you ask me ;-)

... or I could try looking at the code... where should I start? (this would apply to: this issue about album art, but also about the sort order issue that's being discussed in another thread)
Reply


Messages In This Thread
Album art with UPnP - by sba923 - 2019-09-29, 15:24
RE: Album art with UPnP - by sba923 - 2020-04-08, 18:54
RE: Album art with UPnP - by black_eagle - 2020-04-08, 19:42
RE: Album art with UPnP - by sba923 - 2020-04-09, 11:31
RE: Album art with UPnP - by black_eagle - 2020-04-09, 15:08
RE: Album art with UPnP - by sba923 - 2020-04-09, 18:10
RE: Album art with UPnP - by black_eagle - 2020-04-10, 14:26
RE: Album art with UPnP - by sba923 - 2020-04-12, 09:14
RE: Album art with UPnP - by sba923 - 2020-04-12, 10:49
RE: Album art with UPnP - by sba923 - 2020-04-12, 13:00
RE: Album art with UPnP - by sba923 - 2020-05-09, 11:44
RE: Album art with UPnP - by DaveBlake - 2020-05-09, 18:52
RE: Album art with UPnP - by sba923 - 2020-05-09, 19:47
RE: Album art with UPnP - by User 443344 - 2020-05-10, 09:52
RE: Album art with UPnP - by sba923 - 2020-05-10, 12:48
RE: Album art with UPnP - by User 443344 - 2020-05-10, 12:59
RE: Album art with UPnP - by sba923 - 2020-05-10, 19:58
Album art with UPnP - by black_eagle - 2020-05-11, 10:50
Logout Mark Read Team Forum Stats Members Help
Album art with UPnP0