====== PSI ====== ===== Sound ===== To hear sound, ''play'' is needed. It comes with the sox package and seems to need some extra files sudo apt-get install sox libsox-fmt-base libsox-fmt-ao ===== SSL ===== To get SSL connections working (e.g. Google Talk needs this) following plugin is needed\\ sudo apt-get install libqca2-plugin-ossl ===== GnuPG ===== libqca2-plugin-gnupg ===== Publish Tune ===== If the server allows it, Psi can use PEP to inform your friends what you are currently listening to. The file used for this is ''.psi/tune''. ==== Songbird ==== For Songbird there is an addon called "Now Chirping". Edit this file: ''~/.songbird2//extensions/nowchirping@saebekassebil.com/chrome/content/js/nowchirping.js'' Navigate to this function: NowChirping.prototype.saveLocalFile = function() ... and change following line from: foStream.init(file, 0x02 | 0x08 | 0x10, 0666, 0); to foStream.init(file, 0x02 | 0x08 | 0x20, 0666, 0); This changes the behaviour from "Append" to "Overwrite". Now enable local chirping in the Addons Prefs. The path would be ''/home//.psi/tune''. The Data fieldshould contain something like: %title% %artist% %album% ==== Cleaning up ==== Now Chirping only writes to the file when a song starts. It does not delete the file when the playback is stopped. To prevent Psi from showing the last song you listened to for 2 decades or so this file has to be deleted. {{:rm_tune_from_psi.sh.txt|Remove tune from Psi}} This script should be invoked as a cronjob (Has to be made executable first). === Description === Removes a given file after its age passed the given time. If file is updated within this timespan, nothing is done. === Synopsis === **rm_tune_from_psi.sh** __FILE__ __TIME__ === Options === **FILE** /Path/to/tunefile, e.g. ''/home/semok/.psi/tune'' **TIME** Age of the tunefile, after which it should be deleted in minutes === Example === * ''./rm_tune_from_psi.sh /home/semok/.psi/tune 10'' - Removes tune file after 10 minutes.