![]() Registered Member ![]()
|
How can I get my Samsung YP Z5 to work with Amarok?
I'm using Ubuntu (Gnome), I have the HAL and DBUS daemons. Also got libmpt2 files, looked in the rules bit and there was nothing for YP Z5, plenty of other Samsung devices but no Z5. Please can somebody help me sort out my music?!! ![]() |
![]() ![]()
|
As far as I know Samsung YP devices don't work with linux...
(well, mine doesn't) I could be wrong though...good luck! |
![]() Registered Member ![]()
|
Well. it kinda works! You can even upgrade your firmware under linux!
![]() no, just kidding, mine does work as a generic device but does not as mtp.. but I hadn't played with it so much, I've never used mtp and I'm happy this way. J |
![]() Registered Member ![]()
|
Z5 works like a charm under linux. I should know, I have one! When you connect it, it should just show up as a mountable partition (ie: /dev/sda1). If not, it's more than likely that it's connecting under the MTP interface for some lameass reason. If that's the case, hold down the back key whilst you plug it in, and that forces a UMS connection.
When it's connected as UMS, remember to update the firmware to the latest, that has a "UMS Only" option in the system menu which means you'll encounter no problems. Then you can just use it as a generic audio device under linux. I've attached a script I engineered to work with the Z5 back when I got it. Have a look through it, it's not very well commented. A combination of bash and ruby. Save it as "albumcopy" and not "albumcopy.txt". Assuming you put it in like ~/scripts/, put this as your disconnect command: "~/scripts/albumcopy &" And it should work. It relies on you running KDE mind, as well as using pmount/pumount and having a working eject. Any problems let me know. I'll probably submit this to the script archive one day, when I can be bothered to rework it ![]()
Last edited by Anonymous on Mon Apr 23, 2007 12:37 am, edited 1 time in total.
|
![]() Registered Member ![]()
|
I just bought a samsung z5 and I couldn't figure out how to automatically sync album art... I was about to write my own little script, until I found this thread... Thanks for the script! (maybe you could post it on the official scripts page so others could use it for their mass storage enabled mp3 players too).
|
![]() Registered Member ![]()
|
Somehow I don't get it.
What do I have exactly to do and what do I have to install? I'm running Kubuntu 7.10. File "albumcopy" is located in /home/username/.kde/share/apps/amarok/scripts/ and is also executable. Pmount is installed. But I always get the message "Command after disconnect failed" (bad german translation). |
![]() Registered Member ![]()
|
If you set the disconnect command to "~/scripts/albumcopy &", then it will look in /home/username/scripts/ NOT /home/username/.kde/share/apps/amarok/scripts/. Either make a scripts folder in your home directory and put the script there, or set the disconnect command to "~/.kde/share/apps/amarok/scripts/albumcopy &"
By the way, /home/username/.kde/share/apps/amarok/scripts/ is meant for scripts that integrate with the Amarok script manager in the tools menu. The albumcopy script isn't used through the script manager, so it doesn't need to be in /home/username/.kde/share/apps/amarok/scripts/ |
![]() Registered Member ![]()
|
That's clear. By the way, the first error message being told by me is wrong. I ran "~/folder/albumcopy &" in the console, the output has been this:
|
![]() Registered Member ![]()
|
Looks like a syntax error... This is a wild guess, but maybe your using dash as the default shell in kubuntu instead of bash. I think I heard that dash was the default ubuntu shell at one point in time.
see https://wiki.ubuntu.com/DashAsBinSh try echo $SHELL, or ls -l /bin/sh and if it's set to dash, change /bin/sh in the script to /bin/bash |
![]() Registered Member ![]()
|
Okay, now there are no syntax errors, but I'm getting only numbers like
or
|
![]() Registered Member ![]()
|
[1] 12334 means a new the script is running in the background as a new job with job id 1, and pid 12334.
[1] Done ~/scripts/albumcopy means the script finished running in the background. Assuming you have amarok runnning, it should be displaying popups within amarok. It's exiting immediately b/c you didn't pass it the device node of your mp3 player (dev/sda1, dev/sdb, etc...). instead of "~/scripts/albumcopy &", use "~/scripts/albumcopy %d &" in amarok and "~/scripts/albumcopy /dev/sdX" in the command line. I made the same mistake first time I tried the script too. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
And suddenly I feel like a complete retard for not giving detailed instructions
![]() Bear in mind that script can be adapted to any device, all you need is the same sort of file structure (ie: Artist/Album/number - song.ext), and you can adapt it to whatever needs you need. I adapted it to the Cowon D2 when I got it. Perhaps once amarok 2 gets closer to release, i'll rewrite the whole thing in ruby or something. ![]() |
![]() Registered Member ![]()
|
About 5% of the album covers weren't copied to the playerm, and I have absolut no idea why????
I tried everything. Other filenames, vfat-support, ascii-support, other images, access-rights, user-rights. I always get the message, that everything is fine and everything is copied. |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]