Library

Main discussion forum
Post Reply
atagal
Newbie
Newbie
Posts: 34
Joined: Tue Oct 26, 2010 12:08 am

Library

Post by atagal »

Would be great to split genre by ";" or "," or any delimiter.

now i have multi-genre:

Image

atagal
Newbie
Newbie
Posts: 34
Joined: Tue Oct 26, 2010 12:08 am

Re: Library

Post by atagal »

also, there a lot players/libraries (foobar, songbird etc) use lastfm api to grab artist info/album info.

http://www.hydrogenaudio.org/forums/ind ... opic=70955

it would be great to have it in TGF!

antonellocaroli
Newbie
Newbie
Posts: 48
Joined: Tue Sep 14, 2010 10:36 am

Re: Library

Post by antonellocaroli »

lastfm information are often taken from wikepedia ... are not very reliable ... I think it is better AMG!

atagal
Newbie
Newbie
Posts: 34
Joined: Tue Oct 26, 2010 12:08 am

Re: Library

Post by atagal »

maybe and better but AMG dont have API to grab info on fly.

User avatar
jtclipper
Administrator
Administrator
Posts: 770
Joined: Tue Aug 10, 2010 12:04 pm

Re: Library

Post by jtclipper »

I was not aware of the last.fm service when i have free time i'll poke on their site and have a look.
Dimitris

atagal
Newbie
Newbie
Posts: 34
Joined: Tue Oct 26, 2010 12:08 am

Re: Library

Post by atagal »

API if free http://www.last.fm/api but need lastfm account to get api key.

Code: Select all

http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=ARTIST&api_key=APIKEY
http://www.last.fm/api/show?service=267

--

Can i request to split Artist with delimiter at import?

for example Artist1 & Artist2 & Artist 3 to add all 3 artists to database instead 1 (similar to genre split above).
Not always 1st artist is main artist in album.
Last edited by atagal on Thu Nov 25, 2010 2:50 pm, edited 1 time in total.

User avatar
jtclipper
Administrator
Administrator
Posts: 770
Joined: Tue Aug 10, 2010 12:04 pm

Re: Library

Post by jtclipper »

The database design is such that the Albums table has only one link to the Artist table.
Moreover the tracks table has one artist and one album ID in it with the relevant relationship and index keys.

So multiple artists would break the entire database model as of now and will need a major update in the logic of the code as well.
Dimitris

atagal
Newbie
Newbie
Posts: 34
Joined: Tue Oct 26, 2010 12:08 am

Re: Library

Post by atagal »

hm, how about just duplicate album table with different artist name without any relations?
database size will increase, but maybe can add an option to disable duplication if users dont want it.
whatever if there are unique keys, like path to files, it is impossible.
Last edited by atagal on Fri Nov 26, 2010 9:52 am, edited 1 time in total.

Post Reply