Getting Pithos to work in Fedora 20
This is way out of date now
The information in this post is so out-dated that I wonder why I'm keeping it around. I guess I'm a digital hoarder...
I've got back on the Fedora train (at least on my home desktop) and the first
thing I wanted to do was get my music back! So, this is how I did it (writing
this all from memory...so if something is borked, please let me know).Something
WAS borked. Looks like there are 2 gstreamers on Fedora20 (with the RPMs
fusion repo enabled --
I've added them into the list, and I do believe that has cleared up the gstreamer errors reported by pithos.
Damn it... I've been informed yet again that there are still gstreamer errors
for some users. If you are one of them, you can either go through all the
gstreamer-plugins you don't have and install them one by one till you find
the right one OR get annoyed like me and hit it with a big hammer.
Good Ole RPM Fusion.
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
yum install python pyxdg pygobject2 pylast gstreamer-python notify-python dbus-python gstreamer1-plugins-good gstreamer1-plugins-bad-free gstreamer1-plugins-ugly gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly python-setuptools python-distutils-extra git
Now...this sounds bad, but I can't for the life of me remember why I chose
--prefix=/usr to install, but it should still work without that. And as a
matter of fact...I just did a second install without it...so I'm gonna remove
it. IGNORE ME!!!!
cd /tmp/ git clone https://github.com/kevinmehall/pithos.git cd pithos sudo python setup.py install
So you might ask "Hey! Where the hell is my nice little pithos icon and shortcut?!"
To which I would reply "I've no clue...I've yet to solve this one. Hope to soon though!" "I found me a solution!! Kinda Ugly, but it works"
First, lets get a nice application shortcut for Pithos. Your path may be different, so please ensure your path before running this (tab completion is your friend)
sudo ln -s /usr/lib/python2.7/site-packages/pithos-0.3-py2.7.egg/share/applications/pithos.desktop /usr/share/applications/
Now the Icon. This one pissed me off. For whatever damn reason, no matter where I put the pithos icon, it just would not register after restarting GnomeShell. So I finally said screw it and hard coded the path to the icon.
## Contents of /usr/share/applications/pithos.desktop ## Again, make sure the path for Icon is correct for your system [Desktop Entry] Name=Pithos Comment=Play music from Pandora Radio Categories=GNOME;AudioVideo;Player; Exec=pithos Icon=/usr/lib/python2.7/site-packages/pithos-0.3-py2.7.egg/share/icons/hicolor/scalable/apps/pithos.svg Terminal=false Type=Application
Now Pithos should show up in GnomeShell after a reload (Alt-F2 --> r (hit enter)), log out and in, or if all else fails reboot...
Hope this helps out someone, and PLEASE don't hesitate to call me out if something is wrong!