android
  #1  
Old 04-09-2007, 12:35 PM
agordon agordon is offline
Junior Member
 
Join Date: Apr 2007
Posts: 1
Default Playlist Editor for Linux

A Simple playlist editor for Sansa on linux, available at
http://www.mazleg.com/sansa/

comments are welcomed.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 04-09-2007, 03:40 PM
xandl12's Avatar
xandl12 xandl12 is offline
Junior Member
 
Join Date: Oct 2006
Location: Austria
Posts: 67
Default

cool ... works perfectly on my openSuSe 10.2 here.
it would be great, if you can add also some support for the micrSD Card too.

I know that this is not that easy to autodetect, because there is no /MUSIC /PLAYLISTS folder but it is usually mounted one letter after the "sansa harddisk" drive.
so i.e sansa hdd is sda1 then the microSB is sdb1...

but great work and thanks

xandl12

Last edited by xandl12; 04-09-2007 at 03:46 PM.
Reply With Quote

  #3  
Old 05-02-2007, 08:20 AM
s31523 s31523 is offline
Junior Member
 
Join Date: May 2007
Posts: 2
Default Root Folder

Program works! I noticed that the program does not list .mp3 files in the "root" folder, that is, directly in "/MUSIC". For me, I had already copied all my music to the player and just wanted to create playlists without moving files around to new folders... I know, not very organized... Anyway, I updated the PERL script with the following (The code in bold italics is the code I added):
# Creates the TreeStore,
# and fills it will folders inside "$music_base_path"
# returns:
# a populated Gtk2::TreeStore object
sub fill_store {
my $store = Gtk2::TreeStore->new ('Glib::String');
fill_tree_with_folders($store,undef,$music_base_pa th);
my $base_dir = $store->insert (undef,0);
$base_dir = "$music_base_path\/.";
r
eturn $store;
}




If you add the code you should see an unnamed folder show up in the tree which has all the music files in /MUSIC. Cheers!
Reply With Quote

  #4  
Old 05-02-2007, 11:36 AM
s31523 s31523 is offline
Junior Member
 
Join Date: May 2007
Posts: 2
Default Oops

Well, the code I posted shows the files, but seems to be buggy. I tried this instead, but playlists don't seem to show up on my player... hmmmm.
my $base_dir = $store->insert (undef,0);
$store->set ($base_dir, 0 => ".");


I think I have some more investigation to do. I am using a sansa c250 with Ubuntu Edgy Linux.
Reply With Quote

  #5  
Old 02-06-2008, 05:59 AM
Giupersu Giupersu is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Default

Hi, I tried your editor with my Sansa e250 (V03.01.14E) but without success. My new playlist are void. Any help is appreciated. Thanks in advance.
Reply With Quote

  #6  
Old 02-06-2008, 11:59 AM
advcomp2019's Avatar
advcomp2019 advcomp2019 is offline
Ultra Senior Member
 
Join Date: Jun 2007
Posts: 4,838
Default

The e200v2s use a different playlists from the e200v1s, as far as I know. I think you could rename the playlists to the right type.
Reply With Quote

  #7  
Old 02-06-2008, 02:45 PM
Giupersu Giupersu is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Default

Ok. Do you know what is the exact name of the playlist dir in Sansa E250 V2?
Thank you.
Reply With Quote

  #8  
Old 05-18-2008, 09:43 AM
cptdodno cptdodno is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Default

Well, in my case, playlists are generated, and they show up with content. But the Sansa thinks the playlist is empty...

yan@selene:/media/Sansa/PLAYLISTS$ cat test.pla
PLP PLAYLIST
VERSION 1.20

HARP, MUSIC\Poe\Hello\Hello.mp3
HARP, MUSIC\The_B-52's\The_B-52's\52_Girls.mp3

e280, v2. Can someone post a correct v2 playlist to go by?
Reply With Quote

  #9  
Old 05-18-2008, 11:08 PM
cptdodno cptdodno is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Default

Hooo boy! Finally got it figured out.

The V2 does not use PLAYLISTS. It uses m3u files relative to the MUSIC directory.

So, get a copy of easytag, browse to the /media/Sansa/MUSIC directory, and create a playlist relative to the MUSIC directory. Bingo! Works like a charm.

There is no PLAYLISTS directory, and no .pla files.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:34 PM.