[Banshee-List] How does Banshee import songs into GtkTreeView without playing them?



Hello everybody,

I am currently practicing programming by writing a small music manager in Gtk# and Gstreamer#. I spent the last two weeks reading Banshee's source code trying to figure out how to make my music manager software imports the songs without playing them. Here is what I tried:

1. I just created a playbin with each song, set its state to State.Paused and then get the TagList from the GstMessage of the playbin. 

However, this method is pretty resource-consuming and slow, especially when I tried to import like 1000+ songs (it crashed). 

Therefore, I am just curious to know how the Banshee team imported all the songs without playing them? In other words, do you guys also set the song's state to State.Paused to import them, or do you use another way?

Thank you for reading my message!! I love using Banshee and it really inspired my small personal software!!

Have a good day!!


Best regards,
Phong Cao


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]