Linux ALL, Win-ALL, TORRENT-TRAKAR, SOFT
<title></title>
<br />
<hr />
<a href="http://rmcs.webs.md/shop/item/view/132908"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1361748523_lampausbculed701129_normal.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a> <a href="http://rmcs.webs.md/shop/item/view/109846"><img alt="" src="http://rmcs.webs.md/sys_files/8217/large/1351428777_kittastatura_mousewirelessintexduo808.4.jpg" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109160"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1350686782_8gb.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109550"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1351077249_coolerpadnotebookrx878.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/132909"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1361961215_traveleasycablebagkit14pcsfirewire1394rj11rj45usb3.jpg&w=70&h=70" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/111290"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1360780272_placasunet3d.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 53px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/132907"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1361748084_tastatura1flexibila.jpg&w=70&h=70" style="border-width: 1px; border-style: solid; margin: 1px; width: 29px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109176"><img alt="" src="http://rmcs.webs.md/sys_files/8217/ext_uploads/usbcardreader31511.jpg" style="border-width: 1px; border-style: solid; margin: 1px; width: 63px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109350"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1350984649_cabludedateutpcategoria64x2x24awg.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/112678"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1353452528_usbflashdrive4gbtranscendjetflash300negru.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 32px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109158"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1350661698_c1.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 59px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/112907"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1354025662_cablusata3akasa.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109178"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1350734325_4portusbhubsquare.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 53px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/131082"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1360779655_mouseopticwirelessm_3791306.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/129299"><img alt="" src="http://rmcs.webs.md/sys_files/8217/large/1359213263_card2.jpg" style="border-width: 1px; border-style: solid; margin: 1px; width: 77px; height: 50px;" /></a> <a href="http://rmcs.webs.md/shop/item/view/133058"><img alt="" src="http://rmcs.webs.md/sys_files/8217/large/1361961633_etablemasapentrulaptopjpg350x3502.jpg" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/155975"><img alt="" src="http://rmcs.webs.md/sys_files/8217/large/1363614945_glue_gun_rmc_webs_md.jpg" style="border-width: 1px; border-style: solid; margin: 1px; width: 59px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/133028"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1361888549_mousearc1.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 82px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/113111"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1354536020_cardreader.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 62px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/157985"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1364597544_multimetrudigitaldt9205a1444062_normal.jpg&w=70&h=70" style="border-width: 1px; border-style: solid; margin: 1px; width: 50px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/112904"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1354025688_cablurisiadaptoarediversicabluserialatapower15cmscsatapower.jpg&w=70&h=70" style="border-width: 1px; border-style: solid; margin: 1px; width: 57px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/109149"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1350658601_mini_optical_mouse.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 70px; height: 50px;" /></a><a href="http://rmcs.webs.md/shop/item/view/112624"><img alt="" src="http://rmcs.webs.md/get_mage.php?image=/sys_files/8217/large/1353254695_torta2.jpg&w=250&h=250" style="border-width: 1px; border-style: solid; margin: 1px; width: 61px; height: 50px;" /></a><br />
<hr />

Linux ALL, Win-ALL, TORRENT-TRAKAR, SOFT

Linux ALL, Win-ALL, TORRENT-TRAKAR, SOFT
 
AcasaFAQCautareInregistrareConectare
accesul gratuit pe forum Utilizator:User1 si la Password:user12
Orice comadna de minim 35 ron castiga automat un Citior de carduri 48 in 1 http://rmcs.webs.md/shop/item/index/13533

Distribuiți | 
 

 Pidgin Status Audacious

Vezi subiectul anterior Vezi subiectul urmator In jos 
AutorMesaj
xanthux
Mosier pe plantatie
Mosier pe plantatie
avatar

masculin
Numarul mesajelor : 209
Reputatie : 2
FISE : 202613
Data de inscriere : 03/07/2007

MesajSubiect: Pidgin Status Audacious   Lun 2 Mar 2009 - 6:55

Few days ago i
wrote a script to update the status message in pidgin with the title of
the song playing in audacious music player.It is written in python.it
makes use of the dbus for the inter application communication.when you
invoke that script it just appends the title of the song currently
playing in audacious as the status message in pidgin .i used the shell
command $watch to invoke it in every 30 seconds so that the status
message gets updated with the songtitle within 30 seconds after the
song change.You can reduce the number of seconds so that the status
message gets updated frequently reducing the time delay between the
song change and updation of status message.What the script does is, it
retrieves the song title from the audacious music player using
dbus.Then this songtitle is assigned as the status message in pidgin by
communicating through dbus.This script needs dbus and py-dbus.So make
sure that you have both packages installed in your system.
Here is the script :
def set_message(message):
# Get current status type (Available/Away/etc.)
current = purple.PurpleSavedstatusGetType(purple.PurpleSavedstatusGetCurrent())
# Create new transient status and activate it
status = purple.PurpleSavedstatusNew(”", current)
msg=”Now Playing: “
emsg=msg+message
purple.PurpleSavedstatusSetMessage(status, emsg)
purple.PurpleSavedstatusActivate(status)
import dbus
session_bus=dbus.SessionBus()
proxy = session_bus.get_object(”im.pidgin.purple.PurpleService”, “/im/pidgin/purple/PurpleObject”)
purple = dbus.Interface(proxy, “im.pidgin.purple.PurpleInterface”)
proxy1 = session_bus.get_object(’org.mpris.audacious’,'/TrackList’)
purple1 = dbus.Interface(proxy1,’org.freedesktop.MediaPlayer’)
ct = purple1.GetCurrentTrack()
proxy2 = session_bus.get_object(’org.mpris.audacious’,'/org/atheme/audacious’)
purple2 = dbus.Interface(proxy2,’org.atheme.audacious’)
currentsong = purple2.SongTitle(ct)
print currentsong
set_message(currentsong)
Running this script will update the status message just once , so u
have to shell command $watch as i said earlier.if you dont want to do
this things manually, dont worry! i got package for this, grab it from
here http://ragsagar.freehostia.com/pidgin-audacious_plugin.tar.gz ,
untar it and run the installer..
$wget http://ragsagar.freehostia.com/pidgin-audacious_plugin.tar.gz
$tar -xvf pidgin-audacious_plugin.tar.gz
$cd pidgin-audacious\ plugin/
$sudo chmod a+x installer
$./installer
Now run the script using this command :
$pidgin-plugin
PS: Make sure that you have both audacious and pidgin already running


Sus In jos
http://xanthux.youneed.us
 
Pidgin Status Audacious
Vezi subiectul anterior Vezi subiectul urmator Sus 
Pagina 1 din 1
 Subiecte similare
-
» Cerere cod bari status ca cel de la league of legends
» HTML - 4 Categorii pe 1 coloană + icon de status

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Linux ALL, Win-ALL, TORRENT-TRAKAR, SOFT :: LinuxALL :: Ubuntu-
Mergi direct la: