Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel
Accepted Solution

how to get video playlist

Hello,

 

can anyone suggest me how can i get the number of playlist ,name of all playlist available into the videos and the number of items present in every playlist..

 

Thanx..


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

is anyone have some idea how can i do it  ??


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

still not getting ?


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
superdirt
Posts: 541
Registered: ‎05-17-2009
My Device: Not Specified

Re: how to get video playlist

Are you using m3u8? You can parse these files manually

Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

can you share the code.. ??


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: how to get video playlist

[ Edited ]

Hi ankur_siwach,

 

For more inforomation on supported playlist formats on BlackBerry 10 go to this link:

http://developer.blackberry.com/native/documentation/core/com.qnx.doc.mme.mmrenderer/com.qnx.doc.mme...

 

For more information on the native API's to use and sample implementation for playing audio/video on BlackBerry 10 checkout this link:

http://developer.blackberry.com/native/documentation/cascades/graphics_multimedia/audio_video/playin...

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

Thanx sabdesayed,

 

can you please refer some specific code so that it can help me in getting playlist ...


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

is someone have the solution of my problem ??


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.
Developer
ankur_siwach
Posts: 142
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: how to get video playlist

QString currentpath(QDir::currentPath());
music_database_path = currentpath + "/db/mmlibrary.db";

 

SqlDataAccess sqlDataAccess(music_database_path);

 

QVariantList sqlData = sqlDataAccess.execute( "Select c0filename, c2artist, c3album, c4genre, c5composer, c6title,c7description from audio_search_content").value<QVariantList>();

 

using this we can get all the filename,playlist,albums,genre etc.


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Please use plain text.