Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an Android phone which I use as a music player, and I use Banshee to manage the music on my computer. I can copy music fairly easily from Banshee to the phone, I can even copy the music (MP3s) contained in a playlist.

What I would like to do is copy the playlist itself, but that is apparently not so straightforward. What I have tried:

  • Drag and drop the playlist from the computer to the phone (under Devices). This copies all the MP3 files across.
  • Right-click on the device and select 'New playlist'. Then tried dragging and dropping the contents of the playlist on my computer into the playlist on the phone. It would not let me.
  • Right-click on the playlist on the computer and 'Export playlist', then save it to the Android phone. This came close, but the folder structure was all wrong, so it couldn't find the music.

This seems like it should be a pretty straightforward process - is there a way to do it, or are there extensions that will let me do it? If necessary, I could use Rhythmbox instead, but it seems that is equally unable to do this.

share|improve this question
    
this has worked for me in the past. First I copy all the files into the Music folder then I export the playlist straight into the same folder. –  kmassada Sep 26 '12 at 18:32
    
what sort of worked was to export the playlist to the Music directory on my computer, and then copy the playlist (M3U format) to the Music directory on the phone. The phone then picks up the playlist and can open it. Only problem is that the directory structure (Artist / Album) is not always consistent, so it loses a lot of tracks. –  rudivonstaden Sep 26 '12 at 18:49
    
Here's what I do, I copy every track to the root, so under music I have /Music/Tracks.mp3. I drag the music from banshee straight into the folder, not into the phone icon under banshee. that will copy all tracks to same folder, and the export won't make you loose any files. –  kmassada Sep 26 '12 at 18:52
    
thanks @kmassada, though I'd prefer a solution that respects the directory structure. –  rudivonstaden Sep 26 '12 at 19:19
    
No problem, that's why I commented instead of answering. Lemme know if you find better ways of doing this. I starred your question –  kmassada Sep 26 '12 at 19:20
add comment

3 Answers 3

up vote 5 down vote accepted

I'm a little late to the party, but better late than never right?

I think I have a better solution. After much reading of forums and gnashing of teeth, I figured out how to get banshee to sync playlists to an sd-card. I read lots of instructions on different forums/mailing lists, some gave only part of the information you need, some simply gave bad info (for example several posts showed the .is_audio_player file with a line "playlist_format" instead of "playlist_formats". That "s" makes all the difference!)

Anyway,

Add a file .is_audio_player to the root directory of your sdcard or android device's main memory.

Open the file and add these lines:

name="name you want banshee to call your phone"
audio_folders=Music/
output_formats=audio/mpeg,audio/x-ms-wma,application/ogg
playlist_formats=audio/x-mpegurl,audio/mpeg-url
playlist_path=Playlists/

endoffile=PlaceThisHereToEnsureThereIsABlankSpaceBeforeTheLastLineOfTheFile

(there are other lines you can add, just google for .is_audio_player for more info. That last line comes for a post left by one of the developers of banshee noting that banshee won't pick up the last line in the file without a hard return at the end)

Then load banshee, your sd card will now show that it supports playlists, and the sync function will work for music and playlists.

Pro-tip, you can create a smart playists to act as a meta-playlist for all the playlists you want to transfer over. Your media player on the phone should now pick up all your music and all your playlists (only checked by me with the google play music app).\

hope this helps somebody...

share|improve this answer
    
Thanks for your answer. Unfortunately, this is still not working for me -- maybe be because I have a version 1.6 Android phone. Banshee didn't seem to recognise an .is_audio_file config file; is it not supposed to be .is_audio_player? –  rudivonstaden Nov 30 '12 at 8:10
    
Hooray! Finally got this to work after upgrading to a new phone (HTC Desire X). The smart playlist is the key... –  rudivonstaden Jan 12 '13 at 18:20
add comment

ok, the following seemed to me, that it was a studpid answer, and I couldn't believe it, when I read it the first time, but it works.

found on: http://ubuntuforums.org/archive/index.php/t-1693031.html

the first thing you have to do ist to use a .is_audio_player file, no way else.

then 1. Create a Smart Playlist (f.e. XYZ) 2. Set the conditions of the smart playlists to "Playlist" and "is" and select the playlists you want on your media player. 3. Sync the smart playlist (XYZ) with your media player by the menu on the device shwon in banshee. 4. It will copy all the files, and populate your playlists - on the player - automatically at the end.

share|improve this answer
add comment

Well, this is the way I found to do it in the end:

  1. Copy the playlist contents across to the external player by dragging the playlist from under Music in the left pane down onto the player entry under Devices. This copies the files across, but not the playlist.
  2. Right-click on the playlist and select "Export Playlist..." Save it to the base music directory on your computer (e.g. ~/Music).
  3. Copy the playlist file (.m3u in my case) to the base music directory on the external device.
  4. Use listFix() to re-link the playlist entries to the correct files on the external device. At least in Android, the player will locate the playlist and index all the music files correctly.

Perhaps there's a more straighforward way than this, that doesn't require external tools...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.