maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information. (https://talk.maemo.org/showthread.php?t=55278)

tswindell 2010-06-05 15:54

[ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Now all your friends can know exactly what song you're listening to on your Nokia N900 no matter where you are.

http://alterego.metapath.org/project...603-000716.png

http://alterego.metapath.org/project...603-000623.png

Currently in extras-devel:

http://repository.maemo.org/extras-d..._0.1_armel.deb

P.S. The theme is "Carbon", as a lot of people seem to be interested in it.

saxen 2010-06-05 15:55

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
that's great!!!!!!! ò.O i'm gonna try it !

kinipyon 2010-06-05 15:57

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
This is very cool.

How many phones can do the same? Or if they can, how many lines did it require to code it? ;)

tswindell 2010-06-05 15:59

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
The application was written mainly in Python, probably about 300 lines of code, with a small C library to plugin the configuration UI into the N900's "Settings" application.

Not sure if there are any phones that do this function yet :)

fieryriver 2010-06-05 16:04

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
wow this is great thanks a lot this is like the msn function show what youre listening to isnt it?

tswindell 2010-06-05 16:08

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by fieryriver (Post 701228)
wow this is great thanks a lot this is like the msn function show what youre listening to isnt it?

That's the basic idea yeah :)

atilla 2010-06-05 16:09

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
if my msn would work it would be a great apbut i thin that the developers should put there energy in things that almost for most users dont work like IM

cjp 2010-06-05 16:34

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
That's pretty cool!

I shall give that a spin.

saxen 2010-06-05 16:51

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
i've just tried with skype account and it worked well ;)

TomJ 2010-06-05 16:57

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by atilla (Post 701235)
if my msn would work it would be a great apbut i thin that the developers should put there energy in things that almost for most users dont work like IM

Most users? MSN works fine for me and, by my unscientific feel for the forum, most others... what plugin are you using?

salah99 2010-06-05 16:57

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
I like the idea!! very cool..

rmarcus 2010-06-05 17:23

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Hi guys! I have just tried to install and I got the application packages missing message pyside-qt4-core pyside-qt4-gui

Any ideias?

Thanx:)

mece 2010-06-05 17:30

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by rmarcus (Post 701317)
Hi guys! I have just tried to install and I got the application packages missing message pyside-qt4-core pyside-qt4-gui

Any ideias?

Thanx:)

try apt-get -f install

that should install the missing dependencies. I believe you need extras-testing enabled for pyside.

rmarcus 2010-06-05 17:50

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by mece (Post 701322)
try apt-get -f install

that should install the missing dependencies. I believe you need extras-testing enabled for pyside.

Ok...I found it in extras and managed o install, but thethng is I can't find the application anywhere? where should it be?

:confused:

atilla 2010-06-05 18:04

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by TomJ (Post 701295)
Most users? MSN works fine for me and, by my unscientific feel for the forum, most others... what plugin are you using?

i have tried them all and it shows me always no contacts.after pidgin update i cant even log in and just search the forum there are many ppl with problems in IM

plaban 2010-06-05 18:10

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Working Great!!! I always use this feature in Google Talk in my pc.

but there is one problem after stopping the song in media player the status does not change.

tswindell 2010-06-05 18:32

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by plaban (Post 701367)
Working Great!!! I always use this feature in Google Talk in my pc.

but there is one problem after stopping the song in media player the status does not change.

Yes, it indeed does not wipe status message on stop, obviously doing it manually is quite easy. I will add clear on stop for a 0.2 release.

rmarcus 2010-06-05 18:43

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by tswindell (Post 701403)
Yes, it indeed does not wipe status message on stop, obviously doing it manually is quite easy. I will add clear on stop for a 0.2 release.

Where shoud it be after installation?
I can't fnd it anywhere...:(

plaban 2010-06-05 18:46

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by rmarcus (Post 701409)
Where shoud it be after installation?
I can't fnd it anywhere...:(

In "Settings"

saxen 2010-06-05 19:12

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by tswindell (Post 701403)
Yes, it indeed does not wipe status message on stop, obviously doing it manually is quite easy. I will add clear on stop for a 0.2 release.

maybe restore old status, instead of clear it, would be better(or choose between these behaviors) ;)

tswindell 2010-06-05 19:39

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by saxen (Post 701445)
maybe restore old status, instead of clear it, would be better(or choose between these behaviors) ;)

In which case, should I restore status per account, as each account can have a different status message, so it's a bit more complicated to restore it. Not to mention, does it really matter? I can't see anyone really caring if it just clears it :)

Larzan 2010-06-05 22:41

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Does the application poll the status of the Player, or is it executed by the player on song change? (just wondering about its power consumption, the event version would be way leaner)

tswindell 2010-06-05 23:00

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by amorek13 (Post 701689)
it does not show up in my settings?

Are you sure? It should be at the bottom in the 'General' section.

tswindell 2010-06-05 23:02

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by Larzan (Post 701698)
Does the application poll the status of the Player, or is it executed by the player on song change? (just wondering about its power consumption, the event version would be way leaner)

It waits for dbus signals notifying a transition of song and the availability of meta data. The source is in /opt/rx/media-im-status-updater/ if you want to have a look ;)

Also, I've been using it myself for the past few days, forcing my handset to use 2G when I'm not actively using the internet as it's the best way to keep IM accounts from draining the battery, which should be the real concern ;)

amorek13 2010-06-05 23:19

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
it only shows up in status area if name of the song and artist is known, it only name of the song is present it does not show, also when listening to internet radio it does not pull info that media player is displaying

saxen 2010-06-06 01:47

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by tswindell (Post 701483)
In which case, should I restore status per account, as each account can have a different status message, so it's a bit more complicated to restore it. Not to mention, does it really matter? I can't see anyone really caring if it just clears it :)

i really care about! i use always the same signature(actually people don't use them as status) in skype and msn, so restore would be better!

Hariainm 2010-06-06 04:27

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
What tag information can we show with the app, %t for title track and %a for artist? there is a code for album name or more?
Also i noticed that with this application, skipping tracks very quickly forces my msn account to reset and restart (i'm using pecan and it says "unable to connect to one or more accounts" or whatever, i have my N900 in spanish :D)
Anyway, it's a long-waited app, thanks a lot!

tswindell 2010-06-06 09:41

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by amorek13 (Post 701724)
it only shows up in status area if name of the song and artist is known, it only name of the song is present it does not show, also when listening to internet radio it does not pull info that media player is displaying

Yes, currently both track and artist info is require for it to trigger an update, this is possibly also what is making it not work with internet radio. I'll look into getting that to work in the 0.2 release I'm working on.

tswindell 2010-06-06 09:43

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by saxen (Post 701795)
i really care about! i use always the same signature(actually people don't use them as status) in skype and msn, so restore would be better!

Well, I'll keep that in mind. I'll think about it and I might add that to the next release, currently I've made it just clear for now, though this could change before 0.2

tswindell 2010-06-06 09:51

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by Hariainm (Post 701881)
What tag information can we show with the app, %t for title track and %a for artist? there is a code for album name or more?
Also i noticed that with this application, skipping tracks very quickly forces my msn account to reset and restart (i'm using pecan and it says "unable to connect to one or more accounts" or whatever, i have my N900 in spanish :D)
Anyway, it's a long-waited app, thanks a lot!

Currently only track and artist are available, if people can decide what other information they want I'll probably add it to the release after the next one.

Yeah, quickly skipping, though I didn't see it break anything has always been a concern and I am fixing that, as it's also related to the app only updating if it gets both the track and artist.

tswindell 2010-06-06 11:22

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by amorek13 (Post 701724)
it only shows up in status area if name of the song and artist is known, it only name of the song is present it does not show, also when listening to internet radio it does not pull info that media player is displaying

Unfortunately internet radio seems to work differently to local media, so I'm not sure I can get the meta information from it.

tswindell 2010-06-08 10:04

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Version 0.2 Now in extras-devel and extras-testing:
* Added enable/disabled service option.
* Added clearing of status on stop/pause and service disable.
* Added debouncing to IM status update to ignore track skipping.
* Fixed issue with updating only if track & artist are both available.
* Fixed install/upgrade/uninstall triggers to start and stop service when required.
* Added XSBC-Bugtracker field to debian/control file.

There's a known bug, that means you can't reliably set your status during a song.

tswindell 2010-06-08 16:45

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
And, in related news, I'm currently working on version 0.3, which will introduce monitoring of telepathy in the service. What this basically means is I can keep track of accounts when they come online and update the straight away, as well as implement reverting IM status updates that some one might to mid song, which is probably an edge case, but I might aswell play nice. :)

From there on I'm going to presume the software feature complete, but if I've missed something, please request it now through this thread.

Patola 2010-06-10 16:26

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
When I click on the configuration menu for Media IM Status Updater, it doesn't do anything, doesn't open a configuration window. When I had 0.1 it did. What can be happening and how can I help you debug it?

tswindell 2010-06-10 22:07

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
As it's written in python + PySide, there can be a rather annoying lag. Does the control panel lock for any considerable time when you try running it? You can run the ui directly from the command line which might show any exceptions that could be happening in the application, that would be a great help, type: $ /opt/rx/media-im-status-updater/media_im_status_updater_ui.py

tswindell 2010-06-10 22:13

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Looking for testers:

http://maemo.org/packages/package_in...s-updater/0.2/

Please vote :)

HtheB 2010-06-11 00:11

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Could this be also "ported" to Pidgin as a plugin?
Since I rather use Pidgin as my default IM on the N900 :p

tswindell 2010-06-11 00:19

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
In theory, but I'll leave that to someone else as my app is specifically meant for use with telepathy. There are pidgin desktop plugins that do the same thing, so it might be easy-ish to port one, though I doubt any use MAFW :)

So, sorry, it's not on my road map :(

Patola 2010-06-11 03:13

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Quote:

Originally Posted by tswindell (Post 709566)
As it's written in python + PySide, there can be a rather annoying lag. Does the control panel lock for any considerable time when you try running it? You can run the ui directly from the command line which might show any exceptions that could be happening in the application, that would be a great help, type: $ /opt/rx/media-im-status-updater/media_im_status_updater_ui.py

Code:

[user@n900 user]% /opt/rx/media-im-status-updater/media_im_status_updater_ui.py
-sh: /opt/rx/media-im-status-updater/media_im_status_updater_ui.py: Permission denied
[user@n900 user]% python /opt/rx/media-im-status-updater/media_im_status_updater_ui.py
Traceback (most recent call last):
  File "/opt/rx/media-im-status-updater/media_im_status_updater_ui.py", line 139, in <module>
    dialog      = Dialog(session_bus, config)
  File "/opt/rx/media-im-status-updater/media_im_status_updater_ui.py", line 112, in __init__
    self.form    = Form(bus, config)
  File "/opt/rx/media-im-status-updater/media_im_status_updater_ui.py", line 76, in __init__
    profile.get('Profile', 'IconName'))
  File "/usr/lib/python2.5/ConfigParser.py", line 292, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'Profile'
[user@n900 user]%

It seems that I might be lacking some dependence. Do you know which one?

Hariainm 2010-06-11 03:52

Re: [ANNOUNCE] Media IM Status Updater - Update IM presence message with song/artist information.
 
Sometimes (actually i don't know the steps to reproduce it) when this app is on, my pecan account enters in a "trying to... disconnect?" loop WHEN THE ACCOUNT IS ALREADY OFF. In the desktop, the offline picture (white circle with the X) pops up and dissapears in a endless loop, even when in offline mode no icon is showed in the status bar. When i click, it seems to be busy loading and need to swith to other status, then offline and save the changes to fix it... for a while :(
Since this i need to switch off the app when i finish to use msn. Bit weird... I think it's introduced in 0.2 version. Hope you can find the bug.


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8