Hello everybody,<div><br></div><div>I am trying to write a music manager software that import the files according to artist and album. Each artist can have many album and each album can have many songs. Therefore, I decided to use GtkTreeStore to nest all the same-album songs into one parent (the album) and all the same-artist albums into one parent (the artist). Here is the screenshot of the software:</div>
<div><br></div><div><a href="http://www.dotphoto.com/Go.asp?l=42khamthien&amp;P=35183166&amp;AID=6391002&amp;IID=250817449">Screenshot.png</a></div><div><br></div><div>The problem here is, as you can see, I could not insert the albums with the same artist under that artist, and songs with the same album under that album. I wonder how can I achieve this? I tried to create a GtkTreeIter to iterate through the tree and compare the name of artist/album in the TreeStore with the artist/album I got from the stream but that did not help. Can anyone suggest any better way?</div>
<div><br></div><div>Thank you for reading my message! I hope you guys have a good weekend!</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>Phong Cao,</div>