Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
 |
02-15-2008, 11:09 AM
|
#1
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
mount and/or sync Philips Portable MP3 player?
[ Log in to get rid of this advertisement]
I inherited a Philips portable mp3 player and it has songs on it already. What I wanted to do is to add more songs and even a playlist.
This is what I tried so far:
I can read what is on the device fine in Konquerer so I tried to just drag and drop songs. That did not work. Once the device was unplugged, the songs did not show up. The previous owner said that it had to be synced. What Linux app will do that?
I looked at both Amarok and Banshee. Amarok could not connect but I was able to import the songs from the device in Banshee but there was no way to do the opposite.
Do I have to mount this device first?
|
|
|
|
02-16-2008, 05:09 AM
|
#2
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: CentOS
Posts: 1,052
|
If you can read it, it is already mounted. Why doesn't drag and drop work? Is there an error message?
Most likely you just don't have permissions to write for some strange reason.
Anywho - here's a quick guide how to add it so it gets mounted with rw permissions every time.
$ sudo fdisk -l
To see what the device name is.
Find out the uuid:
ls -l /dev/disk/by-uuid
Add the device to fstab:
UUID=[whatever it said in the above command, without the'[]'] /media/[you-have-to-create-this-folder] auto user,defaults,rw 0 0
You might have to do a
$ chown [your-user-name]:[your-group] on the mountpoint.
I haven't done this in so long - there is probably a mistake somewhere.
|
|
|
|
02-16-2008, 10:32 AM
|
#3
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
Thank you very much.
What is happening is that the song files are on the device but the device does not "know" that they are there. When you look at it on the computer, you can plainly see the songs and play them from the device but like I said, once it is unplugged from the computer, the new songs don't show up. The device is acting like a mere usb stick and not a player. The previous owner said it needs to be sync-ed.
Is there a way to tell the thing to sync with the computer or re-index it's contents?
|
|
|
|
02-16-2008, 02:11 PM
|
#4
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: CentOS
Posts: 1,052
|
Oh, so it probably needs a program that writes some indexing data on the device, like the ipod's do.
Find out the exact name of the model, and do a search, maybe someone has written something to make it work. If I'm right then the player should come with a program to "sync" it - for windows at least
http://sourceforge.net/projects/ldmm
http://opengogear.sarovar.org/
A quick search brought me to those. Of course, without knowing the model...
|
|
|
|
02-18-2008, 08:53 AM
|
#5
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
The model is SA411X. At least that's what I got from hwinfo --disk
|
|
|
|
02-18-2008, 04:41 PM
|
#6
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
I just looked at the player and it is the GoGear model. I was going to try out Pymaj ( http://pymaj.sourceforge.net/)
I have a question about the /mnt folder: can I add folders to it? It seems that many apps want this folder for media. My system mounts stuff using the /media folder instead and the /mnt folder is always empty.
|
|
|
|
02-18-2008, 05:34 PM
|
#7
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: CentOS
Posts: 1,052
|
You can mount stuff anywhere you want. I think /media/ has been the place where devices mounted with pmount or plug-and-play devices used to go... so it seems to be intended as the place where user accessible devices are mounted, and /mnt/ is for system wide stuff.
To be honest I don't quite get the distinction.
You'll need root permission (sudo), but yes, you can create folders there.
But apparently your device got recognized and mounted, so there is no reason for adding it to fstab or creating a custom mountpoint if you already have write access as regular user. All you need is one of those syncing programs.
Last edited by oskar : 02-18-2008 at 05:41 PM.
|
|
|
|
02-19-2008, 08:54 AM
|
#8
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
Thank you so much oskar.
Now, I have gotten that pymaj python script/app and this is the part of the instructions that I don't quite understand:
The Philips GoGear SA411X is mounted as /media/TELECHIPS and the directories are as follows:
/media/TELECHIPS/Music
/media/TELECHIPS/Playlists
/media/TELECHIPS/voice
/media/TELECHIPS/devicediversity.bin
/media/TELECHIPS/DevIcon.fil
/media/TELECHIPS/DevLogo.fil
/media/TELECHIPS/settings.dat
/media/TELECHIPS/WMPInfo.xml
In the directions for the python app it says:
Code:
2) Open the pymaj.py file with a text editor and set the parameters of jukebox
object initialization at the end of file
"dbfile" points to the MyDB file on your mounted player
"audiofolder" is the mp3 directory on your player
"verbosity" can be 0 (almost no output), 1 (standard) or 2 (details)
So there would be something like: (e.g.)
if __name__ == "__main__":
jukebox = PyMaj(dbfile="/mnt/usb/_system/media/audio/MyDB", \
audiofolder="/mnt/usb/_system/media/audio/", \
verbosity = 1)
jukebox.update()
There is no /audio and there is no /MyDB directories on the player. All the music (mp3's) are in the /Music folder. Do I have to make a MyDB folder and will that ruin what is on there or end up consuming all the space? (it only has room for 1 GB).
|
|
|
|
02-20-2008, 08:15 AM
|
#9
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: CentOS
Posts: 1,052
|
If it needs syncing, then there has to be a database file somewhere on the player. Creating a folder won't help you since the player will probably not search its flashdrive for a db file, it will look for it where it expects it to be. You'll have to browse the folders or do a "find -name" search.
the "/audio" is a placeholder. In your case you should replace it with:
/media/TELECHIPS/Music in the pymaj.py
I did a search for your player. And I found some entries of people who have trouble getting this particular model working on windows too, since it demands XP-SP2 and Windows-Media-Player-10.
You could try to install WMP10, but... I would suggest you just dump it on ebay, and get a mp3 player that is not broken by design - one that you can just drag and drop the files on. I have yet to see the benefit in using a seperate, undocumented and possibly hidden data base. (It could be on a hidden partition, in case you don't find it on the filesystem)
|
|
|
|
02-20-2008, 08:24 AM
|
#10
|
|
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: CentOS
Posts: 1,052
|
Also, if you have a couple of projects to choose from, I would not necessarily go for the "this is my first python project" script... At least it wouldn't be the only thing I'd try.
There are a couple of projects that attempt to provide compatibility with gogear devices. None of them claim copmpatibility with your particular player though:
http://tuxmobil.org/player_linux_survey_philips.html
|
|
|
|
02-20-2008, 08:40 AM
|
#11
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
I looked at it's file system on Windows (XP SP2, WMP 10) (I used Windows explorer for this) and it listed it like this:
\philips SA411X\Data (devicediversity.bin, SETTINGS.DAT, DevIcon, WMPInfo.xml, and DevLogo were in this folder)
\philips SA411X\Media (where the music, playlist, and voice folders were)
Then I used WMP10, but there was no way to just sync the files I had already put on there. It wanted to sync playlists not just files.
btw, what does the "_system" (in the pymaj instructions) mean?
Where did you do your search from? I tried Google (and only came up with this conversation) and Yahoo (and only came up with 2 manual websites that don't have a manual for this particular model).
|
|
|
|
03-01-2008, 07:36 AM
|
#12
|
|
LQ Newbie
Registered: Aug 2006
Location: Australia
Distribution: slackware 10.2, AIX, HP/UX
Posts: 2
|
Hi,
Isn't this really a unix question?
When any device is mounted, the system sets aside a memory pool as a buffer.
From time the automagically flushes these buffers to the device. So in order for your files to actually to the device, try this command from a shell prompt "sync device" after the file copy (where deviceis either a physical device OR a mount point). Also try "man sync" to help understand what's happening.
regards,
ged
|
|
|
|
03-01-2008, 12:19 PM
|
#13
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
That sounds interesting, gedw, I gotta try that next time I want to add more songs.
|
|
|
|
03-03-2008, 02:34 PM
|
#14
|
|
Member
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 241
|
It Worked!!!
@ gedw:
It Worked!!! It Worked!!! It Worked!!! *jumps up and down excitedly*
After placing the song into its own folder (Artist folder/Album folder/Song) then I copied it over onto the device I did what you said, sync /dev/sdb and it worked!!
(I knew about how the device was connecting to my system from the above stated command: hwinfo --disk)
Last edited by gymnart : 03-04-2008 at 09:59 AM.
Reason: adding info
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
LQ Podcast
LQ Radio
|
|