I'm planning on adding code to cdART Manager that would allow music artwork downloading from the skin, similar to Artwork Downloader does for video. I'm not 100% sure what library items that skin developers have at each level of the audio library. Ultimately and most accurately library ID's would be best, artist ID and album ID. Also if the skin uses a user supplied music library path is used in the skin, or if the skin creates a path(mainly needed for artists), this would be needed.
Suggestions will appreciated.
cdART Manager integration.
giftie
Skilled Python Coder Posts: 2,041 Joined: Mar 2010 Reputation: 35 |
2012-05-09 19:36
Post: #1
![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |
Martijn
Team-XBMC Joined: Jul 2011 Reputation: 115 Location: Dawn of time |
2012-05-09 20:06
Post: #2
As far as i can tell artist name and album title are available. Not id.
So you need to compare the name that the skin parses against what is available in library to get the correct one. Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first For your mediacenter artwork go to ![]()
(This post was last modified: 2012-05-09 20:07 by Martijn.)
|
| find quote |
giftie
Skilled Python Coder Posts: 2,041 Joined: Mar 2010 Reputation: 35 |
2012-05-12 15:16
Post: #3
That is what I feared... Guess I should look into adding 'ListItem.Property(Artist_Id)' and 'ListItem.Property(Album_Id)' to a pull request, with a convincing reason.
![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |
Martijn
Team-XBMC Joined: Jul 2011 Reputation: 115 Location: Dawn of time |
2012-05-12 16:45
Post: #4
(2012-05-12 15:16)giftie Wrote: That is what I feared... Guess I should look into adding 'ListItem.Property(Artist_Id)' and 'ListItem.Property(Album_Id)' to a pull request, with a convincing reason.I do the same with movies/tvshows. Compare the parsed title+path to the one stored in the database and then go from there. Luckily almost all have an tvdb/tmdb/imdb ID stored in database. PHP Code: medianame=$ESCINFO[ListItem.Title], mediapath=$ESCINFO[ListItem.Path] No real issues using this method. Just a little workaround that functions pretty well. It would even be better if the musicbrainz ID was also stored inside the database. Would make things a lot easier. Note: While you're at it could you also look at 'ListItem.Property(Id) for movies
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first For your mediacenter artwork go to ![]()
(This post was last modified: 2012-05-12 16:48 by Martijn.)
|
| find quote |
giftie
Skilled Python Coder Posts: 2,041 Joined: Mar 2010 Reputation: 35 |
2012-05-12 17:38
Post: #5
(2012-05-12 16:45)Martijn Wrote:(2012-05-12 15:16)giftie Wrote: That is what I feared... Guess I should look into adding 'ListItem.Property(Artist_Id)' and 'ListItem.Property(Album_Id)' to a pull request, with a convincing reason.I do the same with movies/tvshows. Compare the parsed title+path to the one stored in the database and then go from there. Luckily almost all have an tvdb/tmdb/imdb ID stored in database. I was thinking about the Movie_Id as well... ![]() I found part of the code in MusicDatabase.cpp(Artist - lines 4866-4883, Album - lines 4885 - 4903) but I do know that this is all of it... ![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |
giftie
Skilled Python Coder Posts: 2,041 Joined: Mar 2010 Reputation: 35 |
2012-05-14 00:22
Post: #6
Figured out Artist ID and Album ID...
![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |
giftie
Skilled Python Coder Posts: 2,041 Joined: Mar 2010 Reputation: 35 |
2012-06-02 09:19
Post: #7
Martijn - you got your wish...
![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |


![[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]](http://www.mediafire.com/conv/e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e4d2fe70f903275f93e5e4c076g.jpg)
![[Image: fanarttv.png]](http://trakt.us/images/thanks/fanarttv.png)

Search
Help