LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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.

Notices


Reply
  Search this Thread
Old 02-15-2008, 11:09 AM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
mount and/or sync Philips Portable MP3 player?


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?
 
Old 02-16-2008, 05:09 AM   #2
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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.
 
Old 02-16-2008, 10:32 AM   #3
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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?
 
Old 02-16-2008, 02:11 PM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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...
 
Old 02-18-2008, 08:53 AM   #5
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
The model is SA411X. At least that's what I got from hwinfo --disk
 
Old 02-18-2008, 04:41 PM   #6
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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.
 
Old 02-18-2008, 05:34 PM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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.
 
Old 02-19-2008, 08:54 AM   #8
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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).
 
Old 02-20-2008, 08:15 AM   #9
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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)
 
Old 02-20-2008, 08:24 AM   #10
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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
 
Old 02-20-2008, 08:40 AM   #11
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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).
 
Old 03-01-2008, 07:36 AM   #12
gedw
LQ Newbie
 
Registered: Aug 2006
Location: Australia
Distribution: slackware 10.2, AIX, HP/UX
Posts: 5

Rep: Reputation: 0
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
 
Old 03-01-2008, 12:19 PM   #13
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
That sounds interesting, gedw, I gotta try that next time I want to add more songs.
 
Old 03-03-2008, 02:34 PM   #14
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
Talking 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
 
Old 12-05-2011, 04:55 AM   #15
trentag1988
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
regarding syncing issues.

I have a philips 8gig, used on ubuntu and other linux's, all I had to do was drag and drop into the devices music folder itself. I've never been able to actually sync through program (device never showed up). best regards in the future in making this easier for you
 
  


Reply

Tags
media, mp3, music, philips, player, sync, synchronize



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Philips GoGear MP3 SA1300 player with Linux qscomputing Linux - Hardware 0 03-18-2007 03:08 AM
Weeeeeeeee! Philips GoGear MP3 Player is mounted! jcbparry LinuxQuestions.org Member Success Stories 2 01-23-2007 06:16 PM
Portable MP3 player with corrupted mp3 files today53 SUSE / openSUSE 1 05-22-2006 09:24 AM
USB MP3 Player Won't Mount (Philips PSA232) redrun Linux - Hardware 3 11-19-2005 11:18 PM
Portable MP3 Player oulevon Linux - General 3 04-27-2005 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration