Plugins can now be disabled and enabled (at least in infrastructure
terms, no UI or code to filter out enabled plugins).
Two new signals will be emitted to main loop:
- ENJOY_EVENT_STARTED
- ENJOY_EVENT_QUIT
Plugins will be enabled on start, disabled on quit. Quit will also
preserve the main loop until everything is done using it. It is
required for stuff like FSO that needs to talk to DBus to re-enable
the CPU policy.
SVN revision: 63163
Keep mpris stuff into mpris itself. Things like status and
capabilities will go into a structure that is easier to use.
Events were simplified, couple of them do not carry arguments anymore,
removing the need of "no_free" and hacks like alocating an integer to
later free it.
The point of event data is when you must use that value, in that exact
sequence. When you have things that just the latest version matters,
like the capabilities or the current song you'll inform MPRIS, then
it's simpler to just query before using. Remember that events are
asynchronous and may run after timers, fd-handlers (mouse, kbd) and
even other events.
I've also fixed the behavior of setting repeat (loop), reflect the
UI. Shuffle also were not updating toolbar, etc.
As a bonus I've added a missing MPRIS TrackList.GetLength :-)
Last but not least... watch out things like giving Edje a MSG_INT
where the given pointer is Eina_Bool (1 byte), it may cause problems
depending on the sibling values :-/
SVN revision: 63145
- enjoy.m4 (similar to lightmediascanner/m4/ac-plugins.m4)
- optional build of modules
- each module in their own directory
- install modules to $(libdir)/enjoy/
- load module from multiple "standard" places, such as
- $(libdir)/enjoy/
- ~/.enjoy
- ${ENJOY_LIB_DIR}/enjoy
- $ENJOY_MODULES_DIR
- each module have its own log stuff
SVN revision: 63142
Still need to install the plugins in a proper directory (probably
$PREFIX/lib/enjoy/plugins) instead of looking for some known filename
prefix. I don't know autofoo enough to do this.
Also needed is a way to load/unload plugins, preferably from the UI.
SVN revision: 62964
Want to help enjoy? There are plenty of things to do, at various
difficulty levels. I can help with mentoring, but I can't code them
all by myself. So let's publish ideas and hope people will contribute
:-)
SVN revision: 62828
TODO: fix elm_toolbar that is resizing the item when the state change
to a large text (Library <-> Now Playing). Right now it was worked
around with a shorter label (Now Playing -> Playing)
SVN revision: 62774
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.
SVN revision: 61974
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
SVN revision: 60407
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)
SVN revision: 55926