Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - MediaStore and Playlists

MediaStore and Playlists

All your problems with Audio, Video and Images.

MediaStore and Playlists

Postby senormoll » Tue Feb 23, 2010 3:31 am

Could someone please point me to an explanation of using playlists with the mediaplayer? I've been searching for days and cannot find anything useful in the documentation.

I want to parse through a playlist (.m3u file) in order to create a shuffle from it. It seems like a common enough thing but I can't find it.

Thanks in advance :)
senormoll
Developer
Developer
 
Posts: 29
Joined: Tue Feb 23, 2010 2:50 am

Top

Postby senormoll » Wed Feb 24, 2010 2:15 am

Nobody knows anything about this? is it even possible lol...i know ive seen other apps do it!
senormoll
Developer
Developer
 
Posts: 29
Joined: Tue Feb 23, 2010 2:50 am

Postby senormoll » Mon Mar 01, 2010 1:32 am

I figured I would reply here since I figured it out and since when googling my problem, my own question here was a top result lol.

I still do not know how to use the MediaStore.Audio.Playlists() provider, but you don't really need it. Just open the .m3u file as any other file, then use Java to sort through it and skip any lines that start with # (comments). Store each line in an ArrayList and you've got your playlist loaded into memory. :)
senormoll
Developer
Developer
 
Posts: 29
Joined: Tue Feb 23, 2010 2:50 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 16 guests