BlueamaroK

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
5.0
Description:

BlueamaroK controls basic functions of the amaroK player with a SonyEriccson mobile telephone through a bluetooth connection.

Dependencies:
Bluez - http://www.bluez.org/
Tcl - http://tcl.sourceforge.net/

Using:
Pair your PC and phone, run rfcomm to bind the connection to a serial device, for example /dev/rfcomm0, run BlueamaroK and go to the accessories menu (Connectivity > Accessories).

Binding example:
# hcitool scan
Scanning ...
00:0E:07:3E:58:0D Khertz
# rfcomm bind rfcomm0 00:0E:07:3E:58:0D 1

Permanent binding:
Edit /etc/bluetooth/rfcomm.conf adding:
rfcomm0 {
bind yes;
device 00:0E:07:3E:58:0D;
channel 1;
comment "Khertz T610";
}

I recommend to use the KDE Bluetooth Framework (http://kde-bluetooth.sourceforge.net/). In the KDE Bluetooth Framework homepage you'll find good documentation for configuring bluetooth.

Models supported:
- T68
- T86i
- T300
- T310
- T610
- Z600
- T230/T238/T226
- T630
- T290

Author:
Pablo Chinea
N.Cat
Last changelog:

14 years ago

* Version 0.1 (03/01/2006)
- Initial Release.

* Version 0.5 (12/01/2006)
- Feature: Playlist listed in phone display.
- Feature: Select track to play from the phone.
- Feature: Added bitrate and sample rate in Track Info.
- Bugfix: Phone return an error when back button is pressed. FIXED
- Some texts changed
- Added more using information in the README

* Version 0.51 (13/01/2006)
- Bugfix: Script fail writing debug output. FIXED

* Version 0.52 (05/10/2006) by N.Cat
- Feature: Reconnect automatically.
- Feature: Improved menu, now just one Play/Pause entry.
- Feature: Show message and set status info on song change.
- Feature: Mark active song in playlist.
- Bugfix: Parsing fails when KDE applications output on stderr. FIXED
- Bugfix: Configuration can be corrupted. FIXED
- Bugfix: Infinite read loop if connection is lost. FIXED
- Bugfix: Menu is no longer displayed after certain errors. FIXED
- Bugfix: Error on long playlist items. FIXED
- Bugfix: Playlist item displayed strangely. FIXED

* Version 0.53 (10/12/2006)
- Bugfix: Incorrect title showed on song change. FIXED

C

khertz

15 years ago

I assumed that the user has the bluez configured (bad idea). The solution given for mabs is perfect for single-user systems, I recommend it too. But there is a securer solution for multi-users systems. In my system (Debian Sid) this device (/dev/rfcomm0) is owned by user: root and group: dialout.

crw-rw---- 1 root dialout 216, 0 2006-02-07 09:29 /dev/rfcomm0

so I only had to add the user in the dialout group:

adduser khertz dialout.

If your system don't have this configuration by default you will have to type also:

chown root.dialout /dev/rfcomm0
chmod 660 /dev/rfcomm0

Report

C

khertz

15 years ago

Try to bind it in another channel, (changing the last number in the command line) for example:

# rfcomm bind rfcomm0 00:0E:07:3E:58:0D 2

or

# rfcomm bind rfcomm0 00:0E:07:3E:58:0D 4

try with few channels.

This script was made for T610 model, K700i use a different AT commands set, but I don't know whether this difference make it unusable the script or not.

Report

Saturday

15 years ago

According to khertz, this script works fine with T68, T86i, T300, T310, T610, Z600, T230/T238/T226, T630 and T290, but not with K700 (yet), because it uses different AT commands.

I got my T610 working now, but can't use the K750i with the script for now. So for the newer phones, we'll have to be patient. ;)

Report

progdan

12 years ago

Works fine with K700i here!

Report

rens

15 years ago

It's good to know, that I'm innocent;-)
So I'm still waiting for this feature...

bye

rens

Report

Saturday

15 years ago

This script seems to be great, but how does it work? My devices are paired and binded, and when I execute the script within amaroK, my computer connects successfully to my cellphone (T610 / K750i), but that's it. Do I need extra software for my cellphone?

Report

C

khertz

15 years ago

No, you don't need anymore. Just go to Connectivity > Accessories.

Report

Saturday

15 years ago

Thanks for your reply. The problem is: This menu entry, accesories, or "Zubehör" in my german phones, stays greyed out.

Report

C

khertz

15 years ago

It seems your computer don't connects successfully to your cellphone. A message saying "Connected to BlueamaroK" would have to appear when the script connects to the cellphone and the word "BlueamaroK" displayed over the wallpaper while the script is running. can you see those messages?

Report

Saturday

15 years ago

No, there isn't such a message. But my phone is connected, I can see that in the kbluetoothd-icon in the tray and in my phone, the bluetooth-sign there shows connectivity.

Do you have any documentation on that, where I can read about that stuff, or maybe test things? It's pretty obvious that I'm doing sth. wrong...

Report

C

khertz

15 years ago

I'm really disconcerted, if the script connects successfully to the cellphone it would have to work. Which model is your cellphone? I'll send you a test script to your email.

Report

steiny

15 years ago

This one works great.
I've used Bluemote with some amarok customizations, but this one works right out of the box.
big THX

Report

rossoft

15 years ago

does this work on motorola V3 phone? If not, why not? Does this use standard bluetooth commands for building the menu?

Report

C

khertz

15 years ago

No, I think don't work (but I didn't tested it). I used expecific AT commands for Ericsson accessories, like for example: AT*EASM (Ericsson Accessory Sub Menu). I have a SonyEricsson T610 phone, and I did the script for this model. I have been searching documentation about AT commands for other models, but I have not been able to find it.

Report

hernan82arg

15 years ago

very nice!

Report

14 years ago

* Version 0.1 (03/01/2006)
- Initial Release.

* Version 0.5 (12/01/2006)
- Feature: Playlist listed in phone display.
- Feature: Select track to play from the phone.
- Feature: Added bitrate and sample rate in Track Info.
- Bugfix: Phone return an error when back button is pressed. FIXED
- Some texts changed
- Added more using information in the README

* Version 0.51 (13/01/2006)
- Bugfix: Script fail writing debug output. FIXED

* Version 0.52 (05/10/2006) by N.Cat
- Feature: Reconnect automatically.
- Feature: Improved menu, now just one Play/Pause entry.
- Feature: Show message and set status info on song change.
- Feature: Mark active song in playlist.
- Bugfix: Parsing fails when KDE applications output on stderr. FIXED
- Bugfix: Configuration can be corrupted. FIXED
- Bugfix: Infinite read loop if connection is lost. FIXED
- Bugfix: Menu is no longer displayed after certain errors. FIXED
- Bugfix: Error on long playlist items. FIXED
- Bugfix: Playlist item displayed strangely. FIXED

* Version 0.53 (10/12/2006)
- Bugfix: Incorrect title showed on song change. FIXED

12345678910
Be the first to comment
DaiVied
Dec 30 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.53
updated Dec 10 2006
added Jan 03 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags addon