Playlists for BlackBerry smartphone should have absolute paths

Bug #485486 reported by tgpraveen
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Banshee
New
Medium
media-player-info (Ubuntu)
Incomplete
Undecided
Unassigned
rhythmbox (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: devicekit-disks

my blackberry pearl 8100 running latest blackberry OS does support playlists and album art.
but the device information for it thinks it does not.
this makes the applications not allow me to do a lot of related operations.
please change the settings.

Revision history for this message
Martin Pitt (pitti) wrote :

Please do

 udevadm info --export-db > /tmp/udev.txt

with the device being plugged in and attach /tmp/udev.txt here. Thanks!

affects: devicekit-disks (Ubuntu) → media-player-info (Ubuntu)
Changed in media-player-info (Ubuntu):
status: New → Incomplete
Revision history for this message
tgpraveen (tgpraveen89) wrote :

added

Revision history for this message
Martin Pitt (pitti) wrote :

There are several playlist formats around, but this one is the most popular one:

-----------------------------
[Playlist]
Formats=audio/x-mpegurl
-----------------------------

Can you please add this to /usr/share/media-player-info/rim-0004_0006_8004.mpi and try if it works then?

I don't think that there is any rhythmbox support for album art right now, but I pinged upstream about this.

Revision history for this message
tgpraveen (tgpraveen89) wrote :

hmm doesnt work. here's what happens.

1. after adding that information, in banshee it still says "Supports playlists:no" and cant do anything in banshee.

2. In rhythmbox, it now does allow me to create playlists, and i created a new one say "praveen" and added some songs, then when i disconnect my blackberry and use my phone's music player , it shows the new playlists it even shows the song names in the playlists correctly but it shows all songs as of length 00:00 and cant play them. it's like it is not able to find the files i guess.

3. then after creating playlist using the phone's music player say "bb" and then connecting to rythmbox and opening the phone it shows a playlist as bb.m3u. but again in rhythmbox the playlist comes as completely empty and doesn't show any of the songs i added to it via the phone. also this time the "praveen" playlist wasn't displayed in rhythmbox.

thanks.

Revision history for this message
tgpraveen (tgpraveen89) wrote :

also found some more info, rhythmbox creates the playlist at location /Media Card/ .
the phone's music player creates playlist at location /Media Card/Blackberry/music/ .
dont know if this makes a difference.
both are indeed .m3u files so probably our playlist type is correct.

Revision history for this message
Martin Pitt (pitti) wrote :

Banshee doesn't use media-player-info yet, so that can't work.

For RB, I very much suspect that the issue is the wrong path. Can you please have a look into the .m3u file? I suspect it lists the music files without any directory, which means that the .m3u file needs to be in the same directory than the .mp3 files. Can you move it there and see if it works then? This would be a bug in rhythmbox then.

Revision history for this message
tgpraveen (tgpraveen89) wrote :

nope, that didnt work.

and also when in my phone i go into the playlist (which was created by RB) and click on view files in it, then i see all the files listed and on any file if i see it's properties then the location is mentioned which is the full and correct location.

also what might be the reason of

3. then after creating playlist using the phone's music player say "bb" and then connecting to rythmbox and opening the phone it shows a playlist as bb.m3u. but again in rhythmbox the playlist comes as completely empty and doesn't show any of the songs i added to it via the phone. also this time the "praveen" playlist wasn't displayed in rhythmbox.

Revision history for this message
tgpraveen (tgpraveen89) wrote :

hmm ok so some information

this is how the playlist which was created in rhythmbox looks when opened with gedit
#EXTM3U
#EXTINF:,Song Of The Century
/BlackBerry/music/Green Day/21st Century Breakdown/01. Song Of The Century.mp3
#EXTINF:,The Static Age
/BlackBerry/music/Green Day/21st Century Breakdown/15. The Static Age.mp3
#EXTINF:,Holiday
/BlackBerry/music/Green Day/American Idiot/03. Holiday.mp3
#EXTINF:,Hit The Floor
/BlackBerry/music/Linkin Park/Meteora/05. Hit The Floor.mp3
#EXTINF:,Numb
/BlackBerry/music/Linkin Park/Meteora/13. Numb.mp3
#EXTINF:,02. One step closer.mp3
/BlackBerry/music/Linkin Park/Hybrid Theory/02. One step closer.mp3

And this is how the playlist which was created in blackberry using it's music player looks when opened with gedit
file:///SDCard/BlackBerry/music/Unknown%20Artist/Unknown%20Album/00.%20wats%20your%20rashee.mp3
file:///SDCard/BlackBerry/music/Jal/AADAT/01%20-%2001%20Rangon%20Mein.mp3
file:///SDCard/BlackBerry/music/Unknown/Lakshya/02%20-%2002%20-%20Lakshya-02%20Agar%20Main%20Kahoon.mp3.mp3
file:///SDCard/BlackBerry/music/BENNY%20DAYAL%20,%20NARESH%20IYER%20,%20SATISH%20CHAKRAVARTHY%20,%20ASLAM%20,%20BLAZE%20,TANVI%20,%20BHARGAVI/Jaane%20tu%20ya%20jaane%20na/02.%2002%20PAPPU%20CAN'T%20DANCE.mp3
file:///SDCard/BlackBerry/music/Linkin%20Park/Hybrid%20Theory/02.%20One%20step%20closer.mp3
file:///SDCard/BlackBerry/music/Linkin%20Park/Hybrid%20Theory/03.%20With%20you.mp3
file:///SDCard/BlackBerry/music/BENNY%20DAYAL%20,%20SATISH%20CHAKRAVARTHY%20,%20SAYONARA%20,DARSHANA%20,%20SVETHA%20,%20BHARGAVI%20,%20ANUPAMA/Jaane%20tu%20ya%20jaane%20na/04.%2004%20NAZREIN%20MILAANA%20,%20NAZREIN%20CHURAANA%20%20(JAANE%20TU%20...YA%20JAANE%20NA).mp3

So both are creating different type of playlists is why both are bot able to recognize each other or something i guess.

Revision history for this message
Martin Pitt (pitti) wrote :

Hm, it's unfortunate that the blackberry-created playlists have absolute paths. The format seems reasonably compatible (the EXTINF stuff are just comments and "nice to have", but not required). It seems that Rhythmbox should try to chop off the path when importing files by playlist.

Does the playlist work on the device if you remove all the paths and just keep the file names?

Revision history for this message
tgpraveen (tgpraveen89) wrote :

Does the playlist work on the device if you remove all the paths and just keep the file names?

NO.

But adding file:///SDCard in front of the file path of the playlist produced by RB does work.

so this should be the only method. and a fix should be added to do this?

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
Bennett Kanuka (bkanuka)
summary: - blackberry pearl does support playlists and album art
+ Playlists not compatible with BlackBerry smartphone
Changed in rhythmbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Bennett Kanuka (bkanuka) wrote : Re: Playlists not compatible with BlackBerry smartphone

I'm updating this as confirmed as I am experiencing the exact same issues with my BlackBerry Curve 8900. The m3u playlists created on the BlackBerry have absolute paths - therefore Rythmbox and Banshee should export playlists in the same fashion.

I will do the upstream reporting but I'm not sure exactly where this should be done. My guess is that each player (banshee...etc) should implement the fix individually rather than media-player-info because I'm not sure media-player-info has the capacity to pass on to the player to use absolute paths, whereas the player just needs to append file:///SDCard in front of the file path when a blackberry is detected.

summary: - Playlists not compatible with BlackBerry smartphone
+ Playlists for BlackBerry smartphone should have absolute paths
Changed in banshee:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in rhythmbox (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.