aMSN Forums
February 11, 2012, 11:01:53 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Jajuk support for Music Plugin  (Read 3656 times)
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« on: December 05, 2009, 08:39:24 pm »

I am developer for the jajuk project:
http://jajuk.info

I want the Music Plugin to add functionality to Jajuk. So based on juk2 I write an infojajuk script and add GetSongJajuk & TreatSongJajuk functions to music.tcl. Now my problem is I dunno how to put an option for Jajuk in the preferences of the plugin ?  any help ?

cheers
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #1 on: December 06, 2009, 01:04:18 am »

Hi, look at the OsVerification function where it lists all the available players, just add yours at the end of the list, with the right name for the GetSong/TreatSong functions.
Logged

KaKaRoTo
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #2 on: December 06, 2009, 03:32:06 am »

Hello

I have added in music.tcl in "if (onUnix){}  "  the following line
Code:
"Jajuk" [list GetSongJajuk TreatSongJajuk FillFrameLess]


And of course I have written the according functions.
What I need is the Jajuk option in the drop-down list in the configuration menu for the plugin ("Choose your prefered player:").

cheers

PS I cant see the difference between FillFrameLess and FillFrameComplete and truth is I dont really know tcl.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9424


View Profile WWW
« Reply #3 on: December 06, 2009, 11:00:57 am »

Hi, if you added that line to the plugin (and made sure that you didn't do an error, like forgetting to add the backslash '\' at the end of the line), it should then appear in the drop down list.
I also checked FillFrameLess and FillFrameComplete and didn't see a difference, hehe.. I guess it was meant to do more but it was never completed or something..
Logged

KaKaRoTo
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #4 on: December 06, 2009, 01:03:26 pm »

Fuck I dont notice further than my nose. Sorry for the trouble man you were right. I just had an old version of music installed in ~/.amsn from a very old amsn install and I had the new version in usr/share etc installed by the rpm of suse i'm using.

So I have it seems like working now. I'll do some simple testing and then can I send it to you so it's included in music plugin ?

cheers
Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #5 on: December 06, 2009, 01:28:11 pm »

It's because you have 2 versions of the plugin on your system and amsn is not loading the one you're changing. Increasing the version number (in plugininfo.xml) should make it load by default.
Logged
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #6 on: December 06, 2009, 01:32:55 pm »

biliob u are right and faster than my editing

Quote from: "iorulezz"
Fuck I dont notice further than my nose. Sorry for the trouble man you were right. I just had an old version of music installed in ~/.amsn from a very old amsn install and I had the new version in usr/share etc installed by the rpm of suse i'm using.

So I have it seems like working now. I'll do some simple testing and then can I send it to you so it's included in music plugin ?

cheers
Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #7 on: December 06, 2009, 01:34:11 pm »

send me it when you think it's ok.
Logged
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #8 on: December 06, 2009, 02:10:54 pm »

OK so far:

    it displays the artist-song
    changes when the song changes
    displays nothing when stoped


these functions seem to work well. The only thing not working is the option "Add song to current message". When I untick this and run the plugin it still adds it, even if I restart amsn between changing it. Is this a generic problem or is it Jajuk specific, and if so any ideas ?

cheers

Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #9 on: December 06, 2009, 03:03:02 pm »

It works fine here with MPD.
Logged
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #10 on: December 06, 2009, 03:12:24 pm »

Add song to personal message is activated and works. Then I untick it, stop the plugin from the icon start it again and it changes back to being ticked. Do I miss something here ?
Logged
iorulezz
Newbie

Offline Offline

Posts: 7


View Profile
« Reply #11 on: January 10, 2010, 03:55:47 pm »

Jajuk support is ready. Tested it over and it works fine.

Do I send the changes I made to include it in the plugin ?
Logged
billiob
Administrator
Super Power User
*****
Offline Offline

Posts: 1352


View Profile
« Reply #12 on: January 10, 2010, 03:59:28 pm »

yep, post a patch here!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!