Comment 6 for bug 1015564

Revision history for this message
Scott Ringwelski (sgringwe) wrote : Re: Unity and Sound Menu support should be checked at runtime

The problem is that we want to use libunity when we can because it also offers playlist support as well as quicklists and progress reports for docks. This is really horrible mixing of features that needs to be fixed. UnityIntegration.vala and MPRIS.vala do the mostly the same things except for:

unityintegration.vala requires libunity, an api for MPRIS
unityintegration.vala has playlist support
unityintegration.vala has quicklist and progress bar support for unity, docks

I think in the end the optimal solution would be:
Use MPRIS.vala ONLY for MPRIS player stuff, which would mean figuring out playlist support in that file.
Use UnityIntegration.vala ONLY for quicklists and progress notifications (neither of which is specific to unity)

We could also put it all into UnityIntegration and force libunity package. This would be easier, not sure if best though.

Would you be willing to take that up? In the end, I think that's the solution we're going to have to use.