Package Details: radiotray 0.7.3-7

Git Clone URL: https://aur.archlinux.org/radiotray.git (read-only)
Package Base: radiotray
Description: An online radio streaming player that runs on a Linux system tray.
Upstream URL: http://radiotray.wordpress.com/
Licenses: GPL
Conflicts: radiotray-hg
Provides: radiotray
Submitter: knedlyk
Maintainer: knedlyk
Last Packager: knedlyk
Votes: 192
Popularity: 3.599940
First Submitted: 2010-01-28 23:39
Last Updated: 2015-06-28 13:07

Latest Comments

urukhigh commented on 2016-01-15 14:44

@urukhigh: Why your radiotray is in /usr/sbin directory? Did you install radiotray manually?
No. And how to fix it?

knedlyk commented on 2016-01-10 23:35

@urukhigh: Why your radiotray is in /usr/sbin directory? Did you install radiotray manually?

urukhigh commented on 2016-01-09 20:13

~ % radiotray
Traceback (most recent call last):
File "/usr/sbin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

What is the problem?

mareke commented on 2015-10-22 05:43

Deleting radiotray folder from .local/share will solve this problem!

Radiotray doesn't start and I'm getting this error:
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/radiotray", line 15, in <module>
radiotray.main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 39, in main
RadioTray()
File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 58, in __init__
self.cfg_provider.loadFromFile()
File "/usr/lib/python2.7/site-packages/radiotray/XmlConfigProvider.py", line 37, in loadFromFile
self.root = etree.parse(self.filename).getroot()
File "lxml.etree.pyx", line 3310, in lxml.etree.parse (src/lxml/lxml.etree.c:72517)
File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:105979)
File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106278)
File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105277)
File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100227)
File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)
File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)
File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94853)
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1

pmattern commented on 2015-07-15 10:55

libappindicator is needed to make GTK applications support panel plugins (widgets) implementing the new Status Notifier specification which is the successor of System Tray Protocol. The latter doesn't support Wayland and will hence be dropped once Wayland is used by default.
So no, it's not only the KDE folks who are affected but everyone and something will have to be done in the long run.
(I basically agree that pulling stuff like Mono to get a rather tiny radio app running seems a bit ridiculous but if I'm not mistaken this is in the nature of libappindicator.)

emw commented on 2015-06-02 20:22

Agreed! More than 120MB in install size for the new dependencies is insane. From the previous comments it seems only the KDE folks need the appindicator-dependency?

How about splitting this into radiotray and radiotray-appindicator (or -kde or something)?

marties commented on 2015-06-02 06:51

hi, since the last update, libappindicator-gtk2 came with a lot of friends on my system :-(

- gtk-sharp-2
- libdbusmenu-gtk2
- libdbusmenu-gtk3
- libindicator-gtk2
- libindicator-gtk3
- mono

seems a bit too much ...

Neftas commented on 2015-05-30 08:42

Isn't the patch outdated? [This](https://bitbucket.org/carlmig/radio-tray/commits/88d3c67f11cf44d47304f6645bc782c7786b1734?at=default) has been committed as the fix for the "Attempt to unlock mutex that was not locked" bug. I propose to change the patch to reflect that solution, since just commenting something out relating to threads may not be the best way.

mauritiusdadd commented on 2015-05-30 06:46

Since radiotray uses pygtk (gtk2 wrapper for python), actually only libappindicator-gtk2 should be enough as dependency.

Quardah commented on 2015-05-30 01:37

Wait!

user mauritiusdadd suggested that you could compile from AUR either libappindicator-sharp OR libappindicator-gtk2 AND libappindicator-gtk3

He seems to know what's up maybe we can ask him more on the issue. Feel free to comment in the forum thread : https://bbs.archlinux.org/viewtopic.php?pid=1532534#p1532534

I lack the experience to judge which one is best. libappindicator-sharp works but it may be a wiser solution to get the alternative. An expert user should investigate.

Also, gui_engine can be set to value "chooser" but i can't find any info about this value. I think it means that on start the program decides which engine to use but it may be choosing the wrong one (?) because of an unupdated behavior. Again, an expert user should investigate.

I'm still working on the radio adding issue. Can't figure out myself, anyone feels like stepping in with me?

knedlyk commented on 2015-05-29 21:37

@FadeMind: OK, I added libappindicator-sharp as a dependency. Version 1.7.4 was not officially announced. For development release please use radiotray-hg package, where you can set the desired revision.

FadeMind commented on 2015-05-29 07:06

Please upgrade radiotray to 0.7.4 version (lastest development commit c0e5087963c5

https://bitbucket.org/carlmig/radio-tray/commits/c0e5087963c5cf6332fbb62d3cc9b2e4c270562c

and please add libappindicator-sharp as depends like Quardah said.

Quardah commented on 2015-05-29 03:58

To install with yaourt, must have LC_ALL set in /etc/environment to any locale (EX : LANG=en_US.UTF-8 ) else installation fails.

FOR PLASMA 5 USERS, KDE5 dropped support for systray. You must download "libappindicator-sharp" from the AUR (yaourt -S libappindicator-sharp) AND set in ~/.local/share/radiotray/config.xml the option named "gui_engine" to value "appindicator" (<option name="gui_engine" value="appindicator"/>)

No sound output and apps become terribly slow responding after adding Montreal CJPX FM radio stream http://64.34.149.200/CJPXFM . Force ending process is very long, made Plasma crash once. When the custom connection is removed, app is working as expected.

Application seems to be able to connect to stream but afterwards jams and does not answer any user command. Stream link specified is untested with any other apps.

Any more details get in contact with me.

knedlyk commented on 2015-01-07 22:39

@lookheed Please double check before you post.

==> Validating source files with md5sums...
radiotray-0.7.3.tar.gz ... Passed
encoding.patch ... Passed
gtk.patch ... Passed

lockheed commented on 2015-01-07 16:05

radiotray-0.7.3.tar.gz does not pass md5 verification.

knedlyk commented on 2015-01-06 17:26

@ValHue With pleasure, but every time I start raditray from this commit I get an error and radiotray couldn't start:
Traceback (most recent call last):
File "/usr/bin/radiotray", line 15, in <module>
radiotray_runner.main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/radiotray/radiotray_runner.py", line 39, in main
RadioTray()
File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 72, in __init__
self.audio = AudioPlayerGStreamer(self.mediator, self.cfg_provider, eventManager)
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 56, in __init__
self.souphttpsrc.set_property("user-agent", USER_AGENT)
AttributeError: 'NoneType' object has no attribute 'set_property'

ValHue commented on 2015-01-05 13:11

@knedlyk, thanks for keeping this PKGBUILD, but two things:

1. The use of "|| return 1" in PKGBUILD is deprecated longtime.

2. If you use
_commit=88d3c67f11cf
source=("https://bitbucket.org/carlmig/radio-tray/get/${_commit}.zip")

version of radiotray be updated to 0.7.4 which fixes many bugs.

knedlyk commented on 2015-01-05 12:42

OK, thanks for the workaround. I made a new pkgbuild with the suggested patch.

bittermint commented on 2015-01-05 06:42

For those running radiotray 0.7.3 and are experiencing startup related problems maybe you need to coment line #185 in the file "Systray.py":
def run(self):
#gtk.gdk.threads_init()
gtk.main()
at least for me this was the solution, and also not very sure but I think there is a new update where an AutoPlayPlugin.py and autoplay.plugin have been added

quattro commented on 2014-10-29 17:29

Does not appear in the system tray of Plasma 5.

cirrus commented on 2014-06-15 16:29

Thanks, <3 it
add my mpd stream to stations http://turtil.net:9001
always on 24/7

indianahorst commented on 2014-05-31 11:45

Since the last python update(?) the program doesn't work anymore. I have gstreamer0.10-ugly-plugins installed.
I can see that the network traffic from the radio station, but there is no sound output.

Here is the console output when I start radiotray from command line:

$ radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py:51: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if(cfg_provider._settingExists("buffer_size")):
Sleep Timer, Stops playing after a predefined time, SleepTimerPlugin.py, Carlos Ribeiro
StationSwitcher, Allows cycling through stations, StationSwitcherPlugin.py, Mark F
HelloWorld, This is a test plugin, HelloWorld.py, Carlos Ribeiro
started
Notifications, Shows message notifications on the desktop, NotificationPlugin.py, Carlos Ribeiro
Mate Media Keys, Controls Radio Tray through keyboard multimedia keys, MateMediaKeysPlugin.py, Ken
Gnome Media Keys, Controls Radio Tray through keyboard multimedia keys, GnomeMediaKeysPlugin.py, Carlos Ribeiro
History, Shows song history, HistoryPlugin.py, Carlos Ribeiro
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 163, in on_message
self.eventManager.notify(EventManager.STATE_CHANGED, {'state':'playing', 'station':station})
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/site-packages/radiotray/NotificationManager.py", line 40, in on_state_changed
self.eventManagerWrapper.notify(_('Radio Tray Playing'), station)
File "/usr/lib/python2.7/site-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 69, in on_notification
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 189, in on_message
self.eventManager.notify(EventManager.SONG_CHANGED, metadata)
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/site-packages/radiotray/NotificationManager.py", line 84, in on_song_changed
self.eventManagerWrapper.notify(msgTitle, msg)
File "/usr/lib/python2.7/site-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 76, in on_notification
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 163, in on_message
self.eventManager.notify(EventManager.STATE_CHANGED, {'state':'playing', 'station':station})
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/lib/python2.7/site-packages/radiotray/NotificationManager.py", line 40, in on_state_changed
self.eventManagerWrapper.notify(_('Radio Tray Playing'), station)
File "/usr/lib/python2.7/site-packages/radiotray/events/EventMngNotificationWrapper.py", line 31, in notify
self.eventManager.notify(self.eventManager.NOTIFICATION, {'title': title, 'message':message})
File "/usr/lib/python2.7/site-packages/radiotray/events/EventManager.py", line 46, in notify
callback(data)
File "/usr/share/radiotray/plugins/NotificationPlugin.py", line 76, in on_notification
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

s_m commented on 2014-05-29 22:52

I had to add gstreamer0.10-ugly-plugins, otherwise no stream (eg "http://mp3.streampower.be/klara-high.mp3") would play. Could it be missing from the dependencies? (Arch 64bit)

knedlyk commented on 2014-05-13 07:47

+taliesin: Code is the same, it doesn't matter which archive storage to use. But I will change the storage, it looks like bitbucket is newer.
Gstreamer ugly plugins are optional dependencies, see PKGBUILD.

taliesin commented on 2014-05-13 00:58

Btw, I think upstream is now Bitbucket rather than Sourceforge:
https://bitbucket.org/carlmig/radio-tray/

taliesin commented on 2014-05-13 00:39

I don't see it listed in the dependencies here, but I could not get Radiotray to play any streams until I installed gstreamer0.10-ugly-plugins (I'm using Arch 64bit).

strubbl commented on 2013-10-12 22:56

Installing radiotray-0.7.3-4 did not work for me. I got the following error and the stream did not play:
WARNING - gstdecodebin2.c(3576): gst_decode_bin_expose (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found


Solution was to install radiotray-0.7.3-3. (I had installed all gstreamer stuff.)

slav commented on 2013-09-07 20:59

Thank you! Working like charm now.

knedlyk commented on 2013-09-07 15:51

Sorry, I uploaded wrong patch file. It is corrected. Thanks!

silent commented on 2013-09-07 15:33

Correct the path in the first two lines of encoding.patch:
diff -Naur radiotray-0.7.3/src/Context.py radiotray-0.7.3-new/build/lib/radiotray/Context.py
--- radiotray-0.7.3/src/Context.py 2012-04-02 23:54:38.000000000 +0200
Then generate new md5sum for corrected encoding.patch and put it into PKGBUILD

Anonymous comment on 2013-09-07 14:18

Same here with patch not applying correctly.
Please fix, thanks!

slav commented on 2013-09-07 13:53

Can you help me please from any reason can't find package in line 4 and can't build package:

makepkg -s
==> Making package: radiotray 0.7.3-4 (Sat 7 Sep 14:51:51 BST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found radiotray-0.7.3.tar.gz
-> Found encoding.patch
==> Validating source files with md5sums...
radiotray-0.7.3.tar.gz ... Passed
encoding.patch ... Passed
==> Extracting sources...
-> Extracting radiotray-0.7.3.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting package()...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur radiotray-0.7.3/build/lib/radiotray/Context.py radiotray-0.7.3-new/build/lib/radiotray/Context.py
|--- radiotray-0.7.3/build/lib/radiotray/Context.py 2012-04-02 23:54:38.000000000 +0200
|+++ radiotray-0.7.3-new/build/lib/radiotray/Context.py 2013-09-07 12:14:32.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in package().
Aborting...

Anonymous comment on 2013-06-05 23:23

Black icons : http://zx11.perso.sfr.fr/img/images-radiotray.7z

otx commented on 2013-05-11 09:01

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/radiotray", line 15, in <module>
radiotray.main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 39, in main
RadioTray()
File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 58, in __init__
self.cfg_provider.loadFromFile()
File "/usr/lib/python2.7/site-packages/radiotray/XmlConfigProvider.py", line 37, in loadFromFile
self.root = etree.parse(self.filename).getroot()
File "lxml.etree.pyx", line 3197, in lxml.etree.parse (src/lxml/lxml.etree.c:64161)
File "parser.pxi", line 1548, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:91383)
File "parser.pxi", line 1577, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:91667)
File "parser.pxi", line 1477, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:90734)
File "parser.pxi", line 1024, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:87648)
File "parser.pxi", line 565, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:83236)
File "parser.pxi", line 656, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:84218)
File "parser.pxi", line 596, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:83542)
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

knedlyk commented on 2013-01-23 10:41

+pulb: You are right. Fixed it. Thanks!

pulb commented on 2013-01-22 18:53

Sorry to nag you again but it seems you removed a wrong dependency :-)
python2-notify is required while python2-pyinotify is not (it's for filesystem monitoring)

pulb commented on 2013-01-21 17:45

Correction to my first post: it's actually python2-gobject not python2-gobject2.

pulb commented on 2013-01-20 14:52

Oh and dbus-python should read python2-dbus.

pulb commented on 2013-01-20 13:04

Hi,
it seems there are still some unneeded / wrong dependencies:
python2-pyinotify and gstreamer0.10-ffmpeg are not required.
pygobject-devel should be replaced by python2-gobject2.

duffydack commented on 2012-10-18 14:03

pyxdg also needs to be replaced with python2-xdg

stmc commented on 2012-10-17 11:10

in repository python-notify was replaced with python2-notify
please edit the PKGBUILD

knedlyk commented on 2012-08-19 21:04

Thanks, updated!

Spike29 commented on 2012-08-19 09:50

Hi, version 0.7.3 is out :)
New md5sum is "274efddcf5183a4f5cb193f8c417a45c".

Spike29 commented on 2012-08-19 09:35

Hi, version 0.7.3 is out :)

8472 commented on 2012-07-10 05:38

After recent system updates, the radiotray fails to start with following error:
{
** (process:7242): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:7242): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:7242): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/radiotray", line 15, in <module>
radiotray.main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 37, in main
RadioTray()
File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 54, in __init__
self.provider.loadFromFile()
File "/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py", line 43, in loadFromFile
self.root = etree.parse(self.filename).getroot()
File "lxml.etree.pyx", line 2954, in lxml.etree.parse (src/lxml/lxml.etree.c:56220)
File "parser.pxi", line 1533, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82303)
File "parser.pxi", line 1562, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:82596)
File "parser.pxi", line 1462, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:81635)
File "parser.pxi", line 1002, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:78544)
File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74488)
File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75379)
File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74712)
lxml.etree.XMLSyntaxError: Specification mandate value for attribute alternate, line 11, column 41
}

Have tried to reinstall radiotray, didn't help.
I have no idea what is that error about.
Anybody else affected?

ShyPixie commented on 2012-07-05 11:07

@test0 Already in the optional dependencies. Plugins are optional because they are specific for certain codecs used in radios.

test0 commented on 2012-07-05 06:54

Same for me, I needed to install manually :

gstreamer0.10-bad-plugins
gstreamer0.10-ugly-plugins

holyArch commented on 2012-06-29 16:58

@knedlyk

Everything works except the sound! Maybe it's not connecting to stream because it shows "unknown".

xfce4-panel 4.10.0
alsa-utils 1.0.25-3
alsa-lib 1.0.25-1
64bit

holyArch commented on 2012-06-29 16:56

@knedlyk

Everything works except the sound! Or maybe it's not connecting to streams.

knedlyk commented on 2012-05-24 14:42

@mrk3004: Done!

ShyPixie commented on 2012-05-24 09:00

Optional dependencies are the wrong way, I needed:

gstreamer0.10-bad-plugins
gstreamer0.10-ugly-plugins

no need to include the gstreamer0.10-bad or gstreamer0.10-ugly, because the plugins packages depend on them.

normal dependencies are also wrong:

gstreamer0.10 already a dependency on gstreamer0.10-base
gstreamer0.10-base already a dependency on gstreamer0.10-base-plugins
gstreamer0.10-base already a dependency on gstreamer0.10-base-plugins
gstreamer0.10-good already a dependency on gstreamer0.10-good-plugins
pygobject already a dependency on pygtk

a little more correct would be:

depends=('gstreamer0.10-base-plugins' 'gstreamer0.10-python' 'pygtk' 'python-notify' \
'python2-pyinotify' 'pyxdg' 'dbus-python' 'gstreamer0.10-good-plugins' \
'gstreamer0.10-ffmpeg' 'pygobject-devel' 'python2-lxml')
optdepends=('gstreamer0.10-bad-plugins' 'gstreamer0.10-ugly-plugins')

ShyPixie commented on 2012-05-24 08:57

Optional dependencies are the wrong way, I needed:

gstreamer0.10-bad-plugins
gstreamer0.10-ugly-plugins

no need to include the gstreamer0.10-bad or gstreamer0.10-ugly, because the plugins packages depend on them.

normal dependencies are also wrong:

gstreamer0.10 already a depencency on gstreamer0.10-base
gstreamer0.10-base already a dependency on gstreamer0.10-base-plugins
gstreamer0.10-good already a dependency on gstreamer0.10-good-plugins
pygobject already a dependency on pygtk

a little more correct would be:

depends=('gstreamer0.10-base' 'gstreamer0.10-base-plugins' 'gstreamer0.10-python' \
'pygtk' 'python-notify' 'python2-pyinotify' 'pyxdg' 'dbus-python' \
'gstreamer0.10-good-plugins' 'gstreamer0.10-ffmpeg' 'pygobject-devel' 'python2-lxml')
optdepends=('gstreamer0.10-bad-plugins' 'gstreamer0.10-ugly-plugins')

ShyPixie commented on 2012-05-05 20:40

had some problems with this package, without the bad plugins that you marked as optional, could not get any radio play, this is a bit wrong, no?

jamesbond007 commented on 2012-04-05 12:31

"Fixed" with the following workaround (two commands as root):

- mkdir /usr/bin/src
- pacman -S python2-lxml

Could someone please fix/update the AUR package?

jamesbond007 commented on 2012-03-31 19:40

When I try to launch radiotray 0.7.2-2, it fails:

------------------------------------------------------------
~> radiotray
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'
------------------------------------------------------------

How can that be fixed?

mezcal commented on 2012-03-19 11:40

Hello,
should be python-notify as dependency only once in PKGBUILD

mezcal commented on 2012-03-19 11:16

Hello,
should be python-notify as dependency only once in PKGBUILD

donvla commented on 2012-03-18 11:53

You also have to remove python-lxml.

knedlyk commented on 2012-03-16 19:45

@wonder Mistake!

wonder commented on 2012-03-16 19:39

@knedlyk i said python2-lxml and NOT python-lxml, don't mix python2 with python (as in python3 modules)

8472 commented on 2012-03-16 15:18

@wonder: great, python2-lxml appears to solved the problem. thx gents.

wonder commented on 2012-03-16 15:09

is easy to debug. basically it tries to append src and some other stuff because "from radiotray import radiotray" fails.

doing

python2>from radiotray import radiotray

you will notice that you get ImportError: No module named lxml

solution is to add python2-lxml as dependency.

8472 commented on 2012-03-16 13:15

@wriggary: Actually, this is the only error I get. There is nothing more above these lines, only radiotray command to start the app., nothing else.
Of course I've logged out and even rebooted since then, with the same result.

FYI, I've just tried to install the radiotray into my virtual testing arch linux (even rebooted).
I never had radiotray on this virtual arch before, thus all dependencies were installed as new, and I'm getting the same error as on my other computer I've mentioned before.

I agree that '/usr/bin/src' path issue is possible, which ain't present in any of my systems.

Anonymous comment on 2012-03-16 07:16

@8472: This isn't the full error, just the traceback (what it was doing right before the error.) What does it say above these lines? Please post the full output from when you ran radiotray to a pastebin.

Also, you've updated some python packages. Have you logged out/rebooted since upgrading? It looks like a path issue.

8472 commented on 2012-03-16 03:29

Hi,

Few hours ago, I've performed full update, and since then, when I try to start radiotray, I get this error:
{
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'
}

Among many, upgraded were also these packages, which I've noticed being in dependencies: gstreamer0.10, gstreamer0.10-base, gstreamer0.10-bad, gstreamer0.10-bad-plugins, gstreamer0.10-base-plugins, gstreamer0.10-good, gstreamer0.10-good-plugins, gstreamer0.10-ugly, gstreamer0.10-ugly-plugins, python-lxml, python2-pyinotify

I've already tried to reinstall app., but didn't helped.
Did you also got this error after latest full upgrade, or it's just me?

Anonymous comment on 2012-02-05 21:19

If you want the 0.7.2 version, here you have the new one PKGBUILD: http://pastebin.com/zXtKzVDY

poshus27 commented on 2011-12-14 12:36

@knedlyk: Thanks.

poshus27 commented on 2011-12-14 12:35

@knedlyk Thanks.

Spike29 commented on 2011-12-10 19:09

Version 0.7.1 is out.

poshus27 commented on 2011-12-09 18:08

Ok fixed next version, wait.

knedlyk commented on 2011-12-09 17:38

@poshus25: It is already reported, see http://sourceforge.net/apps/trac/radiotray/ticket/113

knedlyk commented on 2011-12-09 17:00

It's a package bug. I'll report it.

poshus27 commented on 2011-12-09 15:46

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/SysTray.py", line 214, in on_plugin_preferences
config = PluginConfiguration(self.pluginManager, self.cfg_provider)
File "/usr/lib/python2.7/site-packages/radiotray/PluginConfiguration.py", line 47, in __init__
gladefile = utils.load_ui_file("configPlugins.glade")
File "/usr/lib/python2.7/site-packages/radiotray/lib/utils.py", line 40, in load_ui_file
ui.add_from_file(join(common.DEFAULT_CFG_PATH, name))
glib.GError: Failed to open file '/usr/share/radiotray/configPlugins.glade': No such file or directory
this error when configure plugins.

poshus27 commented on 2011-12-09 15:44

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/SysTray.py", line 214, in on_plugin_preferences
config = PluginConfiguration(self.pluginManager, self.cfg_provider)
File "/usr/lib/python2.7/site-packages/radiotray/PluginConfiguration.py", line 47, in __init__
gladefile = utils.load_ui_file("configPlugins.glade")
File "/usr/lib/python2.7/site-packages/radiotray/lib/utils.py", line 40, in load_ui_file
ui.add_from_file(join(common.DEFAULT_CFG_PATH, name))
glib.GError: Failed to open file '/usr/share/radiotray/configPlugins.glade': No such file or directory
this error when configure plugins.

poshus27 commented on 2011-12-09 15:40

Problem with pulseaudio when lanshed radiotray volume is high and plugin not configure.

knedlyk commented on 2011-12-09 15:15

Updated to 0.7. Please install and give me feedback. Thanks!

thanos commented on 2011-11-24 20:14

Just to let you know,pygobject-devel from official repo did the job for me.
No need for pygobject from AUR.

jhrdka commented on 2011-10-24 15:13

Please update dependencies with python-notify, thanks:)

geekinthesticks commented on 2011-09-28 07:03

I had to install python-notify to get this to work. Also, even though I installed the recommended gstreamer plugins it still complained about missing plugins. I ended up installing all the plugins and it then worked fine.

knedlyk commented on 2011-09-19 07:02

Please uninstall radiotray, upgrade full system (pacman -Syy ), and then install radiotray.

Anonymous comment on 2011-09-19 01:17

Since pyinotify was replaced by python2-pyinotify, I cannot make radiotray work. I have uninstalled everything and reinstalled everything and here's what I get:
radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

knedlyk commented on 2011-09-18 17:46

Uninstall radiotray, update packages and then install radiotray again. Good luck!

Anonymous comment on 2011-09-18 17:02

Please update the package;

:: Starting full system upgrade...
:: Replace pyinotify with community/python2-pyinotify? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: radiotray: requires pyinotify


Regards

Anonymous comment on 2011-09-17 08:16

Please update dependencies with python2-pyinotify.

helq commented on 2011-09-17 03:58

pyinotify replaced --> community/python2-pyinotify

solstice commented on 2011-08-27 15:35

ok. I found the problem
When I tried exaile, i got the same problem and it says: error can't connect to 127.0.0.1 http_proxy

so I dugg into the dconf-editor at system/proxy and revert config to default. at last it worked.
It seems even with a system/proxy/mode set to manual but with a http proxy disabled, it causes problem

solstice commented on 2011-08-27 15:29

ok. I found the problem
When I tried exaile, i got the same problem and it says: error can't connect to 127.0.0.1 http_proxy

so I dugg into the dconf-editor at system/proxy and revert config to default. at last it worked.
It seems even with a proxy set but disabled it causes problem !

knedlyk commented on 2011-08-02 17:37

"Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_ERROR"
It means that something happened with stream. Check your connection. Or submit bug report there: http://sourceforge.net/apps/trac/radiotray/report/1

atommixz commented on 2011-08-02 13:33

doesn't work for me
$ LANG=en_US.UTF-8 radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Loading configuration...
/home/atommixz/.local/share/radiotray/bookmarks.xml
/home/atommixz/.local/share/radiotray/config.xml
/usr/share/radiotray/config.xml
PLS playlist decoder
M3U playlist decoder
ASX-familiy playlist decoder
XSPF playlist decoder
ASF playlist decoder
RAM playlist decoder
Using url timeout = 100
Failed to create an Application Indicator!
Could not bind to Gnome for Media Keys
Requesting stream... http://media-ice.musicradio.com/ClassicFMMP3.m3u
Metadata obtained...
Content-Type: audio/x-mpegurl
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Stream is readable by M3U Playlist Decoder
Downloading playlist...
Playlist downloaded
Decoding playlist...
['http://media-ice.musicradio.com:80/ClassicFMMP3']
Play http://media-ice.musicradio.com:80/ClassicFMMP3
Requesting stream... http://media-ice.musicradio.com:80/ClassicFMMP3
Metadata obtained...
Content-Type: audio/mpeg
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Checking decoder
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_ERROR
Resource not found.
gstsouphttpsrc.c(922): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 5
Error: Resource not found.
Error: gstsouphttpsrc.c(922): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 5
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 120, in on_message
self.mediator.notifyError(err, debug)
File "/usr/lib/python2.7/site-packages/radiotray/StateMediator.py", line 105, in notifyError
self.notification.notify(C_("An error notification.", "Radio Error"), str(error))
File "/usr/lib/python2.7/site-packages/radiotray/Notification.py", line 39, in notify
self.notif.show()
glib.GError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

solstice commented on 2011-08-02 08:47

codecs ? how can it work for you and not me ?

connection. yes why not, but I said it works with any other player without problem.

Also it's not only with soma fm stream it's with all of them !

knedlyk commented on 2011-08-01 22:04

I can perfectly play the stream you posted http://voxsc1.somafm.com:9002 . I guess the problem is in codecs or internet connection. Try to post bug report on radiotray sourceforge page.

solstice commented on 2011-08-01 09:35

Whatever the stream I try to listen to, I got an error "Ressource unavailable". But, it works with anny toher player !

$ radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Loading configuration...
/home/solstice/.local/share/radiotray/bookmarks.xml
/home/solstice/.local/share/radiotray/config.xml
/usr/share/radiotray/config.xml
PLS playlist decoder
M3U playlist decoder
ASX-familiy playlist decoder
XSPF playlist decoder
ASF playlist decoder
RAM playlist decoder
Using url timeout = 2000
Requesting stream... http://voxsc1.somafm.com:9002
Metadata obtained...
Couldn't read content-type. Maybe direct stream...
Error: 'content-type'
Play http://voxsc1.somafm.com:9002
Requesting stream... http://voxsc1.somafm.com:9002
Metadata obtained...
Couldn't read content-type. Maybe direct stream...
Error: 'content-type'
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_STATE_CHANGED
Received MESSAGE_ERROR
Ressource introuvable.
gstsouphttpsrc.c(922): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 5
Error: Ressource introuvable.
Error: gstsouphttpsrc.c(922): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 5

Anonymous comment on 2011-03-14 11:27

@ wriggary

thank you very much.

going through pacman logs and reinstalling the old packages helped.

best regards,

adrian

Anonymous comment on 2011-03-13 16:23

** Message: pygobject_register_sinkfunc is deprecated (GstObject)

based on the message, it seems like the pygobject package (and a bunch of other gnome packages) got rolled to their 3.0 versions, which may break a lot of things expecting the 2.26.x versions. For radiotray, I would try to remove the pygobject package (pacman -Rd pygobject) and reinstall. But, to be thorough, I would go through your pacman logs and reinstall everything that gnome-shell-git tried to upgrade to 3.0 versions. Remember that -VCS versions won't carry the same packagename, but I think pacman is smart enough to figure that out these days.

Anonymous comment on 2011-03-13 13:38

after an unsuccesfull try to install

aur/gnome-shell-git 20110219-1
The next generation GNOME Shell. Experimental, GNOME 3.0 version.

radiotray does not work anymore, from graphical interface nor from terminal.

in terminal I get this:

[adi@adi-arch ~]$ radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

also radio tray is not working under lxde nor fluxbox, also installed on same machine.

any ideeas?

Anonymous comment on 2011-02-26 00:13

Thanks, it works! There's new update in translations: http://www.transifex.net/projects/p/radiotray/resource/tip-po-untitled-pot/

Anonymous comment on 2011-01-26 12:25

When i launched radiotray. I have this error.
Can you help me please?

Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] Aucun fichier ou dossier de ce type: '/usr/bin/src'

atommixz commented on 2011-01-26 00:17

radio does not play without them

knedlyk commented on 2011-01-24 22:59

As you wish...

lampslave commented on 2011-01-24 18:10

Radiotray can't work without these packages.
@cotton install them and try again.

lampslave commented on 2011-01-24 16:12

Radiotray can't working without these packages.
@cotton install them and try again.

knedlyk commented on 2011-01-24 15:53

They are added as an option, you can install it separately.

lampslave commented on 2011-01-24 00:14

Radiotray also depends on gstreamer0.10-ffmpeg gstreamer0.10-good gstreamer0.10-good-plugins.
Please update the PKGBUILD.

cotton commented on 2010-12-05 02:22

Running from cli gives me:

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 114, in on_message
self.mediator.notifyPlaying()
File "/usr/lib/python2.7/site-packages/radiotray/StateMediator.py", line 104, in notifyPlaying
self.notification.notify(C_("Notifies which radio is currently playing.", "Radio Tray Playing"), self.currentRadio)
File "/usr/lib/python2.7/site-packages/radiotray/Notification.py", line 39, in notify
self.notif.show()
glib.GError: Unable to connect to server

It used to work (as did radiotray-hg)
Other sound apps work fine.

cotton commented on 2010-12-05 02:13

Running from cli gives me:
glib.GError: Unable to connect to server
It used to work (as did radiotray-hg)
Other sound apps work fine.

larryhaja commented on 2010-11-05 00:46

I was wondering why pyinotify is a dependency? I don't see anywhere in the code that it references pyinotify.

atommixz commented on 2010-10-31 16:06

and yet I was right

knedlyk commented on 2010-10-31 09:35

Done

silent commented on 2010-10-31 01:33

Yes, reinstall solves it, but no automatic update. So, please increase pkgrel.

atommixz commented on 2010-10-27 06:08

I don't know, but for me it's work after rebuild radiotray 0.6.1-2 to radiotray 0.6.1-2

knedlyk commented on 2010-10-26 14:08

What's the problem??? I changed pkgrel=1 to pkgrel=2 at 6 of October after lubosz's comment about python -> python2! Just do "yaourt -Su --aur" and radiotray will be updated automatically.

knedlyk commented on 2010-10-26 10:21

What's the problem??? I changed pkgrel=1 to pkgrel=2 at 6 of October after lubosz's comment about python -> python2! Just do "yaourt -Su --aur" and radiotray will update automatically.

Anonymous comment on 2010-10-26 04:11

learn to use makepkg atommiixz

atommixz commented on 2010-10-26 03:54

You did not understand. After Python 2 was python2 I fell off radiotray. To initialize the auto update at all, you need to do pkgrel+1. I am the same as everybody had to reinstall manually. What and wrote "kolos". Just increase fucking pkgrel!!!

knedlyk commented on 2010-10-25 14:38

As for now package is not ported for python3, that is why I had to put python2. We have wait until developer port radiotray for the next python generation (http://diveintopython3.org/porting-code-to-python-3-with-2to3.html)

atommixz commented on 2010-10-25 13:41

python -> python2 it's a biggest change. For ALL it's not work, if it not recompile. pkgrel + 1 required!

knedlyk commented on 2010-10-25 08:53

atommixz: 'cause I made some small changes in PKGBUILD, that is why 1->2

atommixz commented on 2010-10-25 07:51

knedlyk, why you have not increased pkgrel?

kolos commented on 2010-10-19 14:31

@tschertel i just reinstaled radiotray and it worked again

Anonymous comment on 2010-10-19 13:26

Getting an error message after transitioning to python3

$ radiotray
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

knedlyk commented on 2010-10-06 16:26

Lubosz, thanks. Updated!

lubosz commented on 2010-10-06 15:53

This package has to be updated for the python 3 transition.

#python setup.py install --root=${pkgdir}/ --optimize=1 || return 1
python2 setup.py install --root=${pkgdir}/ --optimize=1 || return 1

atommixz commented on 2010-10-03 16:50

it's work after install optdepends

Anonymous comment on 2010-08-16 04:11

$ radiotray
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

You need install only python-dbus

$sudo pacman -S dbus-python

Run radiotray....enjoy! :-)

atommixz commented on 2010-07-28 07:39

wtf?
$ radiotray
Traceback (most recent call last):
File "/usr/bin/radiotray", line 12, in <module>
os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

knedlyk commented on 2010-06-15 11:17

Jleach, thanks a lot, I'm on vacations and cannot follow the changes. I submitted your file, but didn't check how it works.

Anonymous comment on 2010-06-15 00:51

PKGBUILD for radiotray-0.6:

http://aur.pastebin.com/pUQaJhwG

solstice commented on 2010-05-23 19:30

python dependancy is not needed because pygobject pygtk pyinoty etc... depend already on python
also you're not suppose to add the package name in the pkgdesc. so:

pkgdesc='an online radio streaming player that runs on a Linux system tray'

is enough

knedlyk commented on 2010-05-19 14:48

Probably you have installed radiotray-svn or radiotray-hg. SVN version of radiotray was removed from aur an no longer used. Please remove it before installing radiotray.

Anonymous comment on 2010-05-19 14:31

==> radiotray conflicts or provides radiotray. Do you want to remove it with "pacman -Rd" ? [y/N]

Why does this appear? I doesn't have installed the svn version or hg?

knedlyk commented on 2010-05-12 18:28

Done, thank you!

reacocard commented on 2010-05-12 18:15

You're missing the dependency on pyxdg.