zD12 / galaxium

Automatically exported from code.google.com/p/galaxium
0 stars 0 forks source link

Set time for checking song updates [partially done, need to add GUI) #269

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We should be able to change how fast the music plugin thing checks for a
new song (as I've already discussed with Ben). This is just a reminder.

Original issue reported on code.google.com by kreugerb...@gmail.com on 9 Jul 2008 at 10:05

GoogleCodeExporter commented 9 years ago

Original comment by ben.motm...@gmail.com on 9 Jul 2008 at 10:36

GoogleCodeExporter commented 9 years ago
writing plugins for media players and using dbus is better idea - longterm idea.

Original comment by jakub.ru...@gmail.com on 9 Jul 2008 at 11:15

GoogleCodeExporter commented 9 years ago
I'm pretty sure they do use dbus.

Original comment by kreugerb...@gmail.com on 10 Jul 2008 at 5:23

GoogleCodeExporter commented 9 years ago
but media player doesn't "ping" galaxium, that another song is playing.
galaxium checks on his own in some delay - that's bad.

Original comment by jakub.ru...@gmail.com on 10 Jul 2008 at 11:51

GoogleCodeExporter commented 9 years ago
Jakub: where a media player supports DBus its already used and Galaxium doesn't 
poll
for the media, it is updated by the media player.

Polling for data is only done for players which don't have support for anything 
else.

Original comment by paulburt...@gmail.com on 10 Jul 2008 at 2:15

GoogleCodeExporter commented 9 years ago
I added support to customise the polling times (r1228)

anyway, I didn't add GUI settings for it, but you can change them using the 
following
config values:

in ~/.config/Galaxium/Plugins.xml

<Section name="SongInformation">
    <int name="BackendPollTime" value="60" />
    <int name="SongPollTime" value="30" />
</Section>

* values are in seconds
* accepted ranges: BackendPollTime 20+, SongPollTime 10+

Original comment by ben.motm...@gmail.com on 11 Feb 2009 at 12:14