How to install synapse, latest banshee and how to push banshee played songs to zeitgeist !

Posted: 2 December 2010 in Computing, English, Τεχνολογία, Ubuntu, Uncategorized, various

i’ve just installed latest banshee (v1.9) music player in my Ubuntu 10.10 from the unstable ppa.

Here is a way to push banshee played song to zeitgeist and from there you can use synapse (a gnome-do like tool written in vala with zeitgeist super powers!) to find the played songs !

Banshee-Zeitegeist Dataprovider

Synapse using Banshee-Zeitegeist Dataprovider

The method applying in this post assumes you are familiar with ubuntu ppa’s, command line and git. Also use the details below at your OWN RISK !!!

# get the required stuff
# latest banshee
sudo add-apt-repository ppa:banshee-team/banshee-unstable
sudo apt-get update && sudo apt-get install banshee banshee-community-extensions
# if you have already banshee just use
# sudo apt-get upgrade !
# OPTIONAL : get synapse (gnome-do like application with zeitgeist support)
sudo add-apt-repository ppa:synapse-core/ppa
sudo apt-get update && sudo apt-get install synapse
# get banshee development libs
sudo apt-get install git-core autoconf automake libtool intltool gcc make libgconf2.0-cil-dev libgconf2-dev && sudo apt-get build-dep banshee
# don't forget the zeitgeist-sharp lib so that you can use banshee.zeitgeist provider
sudo add-apt-repository ppa:manishsinha/experimental
sudo apt-get install libzeitgeist-cil-dev

# make temporary folder and get the banshee community extensions from source
mkdir temp_BCE
cd temp_BCE/
# install git if you don't have it already
sudo apt-get install git
# clone the source files
git clone git://gitorious.org/banshee-community-extensions/banshee-community-extensions.git banshee-community-extensions
cd banshee-community-extensions
# enable only the zeitgeist provider, the others are already installed from the banshee-unstable-ppa
./autogen.sh --disable-alarmclock --disable-ampache --disable-appindicator --disable-awn --disable-clutterflow --disable-coverwallpaper --disable-jamendo --disable-lastfmfingerprint --disable-lcd --disable-lirc --disable-liveradio --disable-lyrics --disable-magnatune --disable-mirage --disable-openvp --disable-radiostationfetcher --disable-randombylastfm --disable-soundmenu --disable-streamrecorder --disable-telepathy --disable-ubuntuonemusicstore
# _make_ and ... pray for no errors
make
# then to use the Banshee.ZeitgeistDataprovider copy the dll to the extensions folder
sudo cp bin/Banshee.ZeitgeistDataprovider.dll /usr/lib/banshee-1/Extensions/
# enjoy!!
# start banshee, enable the extension (Edit-> preferences -> extensions -> Zeitegeist Dataprovider)
# restart banshee, play a song, close banshee. activate Synapse, go to audio tab and hit down button and see the song you played before logged from zeitgeist!

you can get the instructions also at pastebin :

http://pastebin.ca/2008871

About these ads
Comments
  1. [...] Nevertheless brave hearts can follow along with the instructions on gourgi’s blog @ gourgi.wordpress.com [...]

  2. dongbin says:

    I run the command according to this post. firstly, the makefile can’t be created because the mono package can’t be find. After install this package, I created the make file, but run make meet a mistake, some parameter can’t be find in name space, just like as:
    ——————————————————————————————————————–
    ./Banshee.Jamendo/JamendoDownloadManager.cs(31,12): error CS0234: The type or namespace name `Addins’ does not exist in the namespace `Mono’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoDownloadManager.cs(33,7): error CS0246: The type or namespace name `Hyena’ could not be found. Are you missing a using directive or an assembly reference?
    ./Banshee.Jamendo/JamendoDownloadManager.cs(34,7): error CS0246: The type or namespace name `Hyena’ could not be found. Are you missing a using directive or an assembly reference?
    ./Banshee.Jamendo/JamendoDownloadManager.cs(36,15): error CS0234: The type or namespace name `Library’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoDownloadManager.cs(37,15): error CS0234: The type or namespace name `ServiceStack’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoSource.cs(33,42): error CS0234: The type or namespace name `WebSource’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoView.cs(40,40): error CS0234: The type or namespace name `WebSource’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoView.cs(33,7): error CS0246: The type or namespace name `Hyena’ could not be found. Are you missing a using directive or an assembly reference?
    ./Banshee.Jamendo/JamendoView.cs(35,15): error CS0234: The type or namespace name `WebBrowser’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoView.cs(36,15): error CS0234: The type or namespace name `WebSource’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ./Banshee.Jamendo/JamendoWebBrowserShell.cs(34,51): error CS0234: The type or namespace name `WebSource’ does not exist in the namespace `Banshee’. Are you missing an assembly reference?
    ————————————————————————————————————–
    added, I’m wondering we only need the Zeitgeistdataprovider extension. But I should download all the extension files and compile them? would you like to tell me how can I just create the Zeitgeist extension? Many thanks for your help!

  3. gourgi says:

    it seems to be a problem with the jamendo extension. i didn’t installed it, so i can’t know what’s wrong with it.
    i run autogen with the options below that disable jamendo extension support:

    ./autogen.sh --disable-alarmclock --disable-ampache --disable-appindicator --disable-awn --disable-clutterflow --disable-coverwallpaper --disable-jamendo --disable-lastfmfingerprint --disable-lcd --disable-lirc --disable-liveradio --disable-lyrics --disable-magnatune --disable-mirage --disable-openvp --disable-radiostationfetcher --disable-randombylastfm --disable-soundmenu --disable-streamrecorder --disable-telepathy --disable-ubuntuonemusicstore
    --disable-jamendo

    is the relevant one.
    please try running just a “make clean” or better branch the source tree again and start over again using the option i provide above.
    I hope i helped :)

    • Lorenzo says:

      Hi.. Thanks for the help but the problem remain.. i run “make clean” and then “lorenzo@lorenzo:~/temp_BCE/banshee-community-extensions$ ./autogen.sh –disable-alarmclock –disable-ampache –disable-appindicator –disable-awn –disable-clutterflow –disable-coverwallpaper –disable-jamendo –disable-lastfmfingerprint –disable-lcd –disable-lirc –disable-liveradio –disable-lyrics –disable-magnatune –disable-mirage –disable-openvp –disable-radiostationfetcher –disable-randombylastfm –disable-soundmenu –disable-streamrecorder –disable-telepathy –disable-ubuntuonemusicstore –disable-jamendo” but i get the same error of my first post..

      • gourgi says:

        I’m sorry but i don’t think i can help more on this. Something that i don’t know is messing the instal. Try asking at #zeitgeist or #banshee guys @irc for help, they were pretty helpful with my install problems.

  4. dongbin says:

    # _make_ and … pray for no errors

    maybe the reason is that we don’t pray!

  5. John says:

    When I run make, I get this.

    ~/temp_BCE/banshee-community-extensions$ make
    Making all in build
    Making all in m4
    Making all in help
    Making all in src
    Making all in AlarmClock
    Making all in Ampache
    Making all in AppIndicator
    Making all in Awn
    Making all in ClutterFlow
    Making all in ClutterFlow
    Making all in Banshee.ClutterFlow
    Making all in CoverWallpaper
    Making all in Jamendo
    MCS ../../bin/Banshee.Jamendo.dll
    Making all in LastfmFingerprint
    Making all in liblastfmfpbridge
    Making all in Banshee.LastfmFingerprint
    MCS ../../../bin/Banshee.LastfmFingerprint.dll
    Making all in LCD
    Making all in Lirc
    Making all in lirc-glue
    Making all in Banshee.Lirc
    Making all in NUnitTests
    Making all in GUITestHarness
    Making all in LiveRadio
    Making all in Lyrics
    Making all in Magnatune
    Making all in Mirage
    Making all in libmirageaudio
    Making all in Mirage
    Making all in Banshee.Mirage
    Making all in Test
    Making all in OpenVP
    Making all in Cdh.Affe
    Making all in Cdh.Affe.Tests
    Making all in OpenVP
    Making all in OpenVP.Scripting
    Making all in OpenVP.Core
    Making all in Banshee.OpenVP
    Making all in Banshee.OpenVP.Visualizations
    Making all in RadioStationFetcher
    Making all in RandomByLastfm
    Making all in StreamRecorder
    Making all in Telepathy
    Making all in Banshee.Telepathy
    Making all in ZeitgeistDataprovider
    MCS ../../bin/Banshee.ZeitgeistDataprovider.dll
    error CS0006: cannot find metadata file `/usr/lib/zeitgeist-sharp/zeitgeist-sharp.dll’
    Compilation failed: 1 error(s), 0 warnings
    make[3]: *** [../../bin/Banshee.ZeitgeistDataprovider.dll] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

    The error at zeitgeist data provider is what’s messing it up. any way to fix it? Thanks for any help!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s