[mythtv-users] Alternatives to MythMusic in 0.25, has anyone already found one?

George Galt george.galt at gmail.com
Wed Apr 18 13:12:16 UTC 2012


On Tue, Apr 17, 2012 at 8:01 PM, Gabe Rubin <gaberubin at gmail.com> wrote:
> On Tue, Apr 17, 2012 at 4:50 PM, Nick Rout <nick.rout at gmail.com> wrote:
>> On Wed, Apr 18, 2012 at 9:04 AM, Gabe Rubin <gaberubin at gmail.com> wrote:
>>> On Tue, Apr 17, 2012 at 2:01 PM, George Galt <george.galt at gmail.com> wrote:
>>>> At one point I wrote a frontend for squeezeslave that worked with Myth
>>>>>= 0.23.  It got too bloated, but I've been thinking of reworking it
>>>> again.  All it really does is put a myth-friendly face on
>>>> squeezeslave, so you can see and control squeezeslave using your
>>>> remote.
>>>> I probably should dust off the old code and see what I could salvage.
>>>>
>>>> George
>>>
>>> I would love it if you did that.  It would be a lot better than my
>>> bubblegum hacked up job I use.
>>
>> I wrote up an approach using slimp3 years ago
>> http://www.gossamer-threads.com/lists/mythtv/users/278169#278169
>>
>> since then slimp3 does not work well for me and I have been thinking
>> of revamping it using squeezeslave. Currently if I ssh into my
>> frontend and execute
>>
>> squeezeslave  -D -F -n spdif
>>
>> I get a display on screen like a squeezebox (basic model). It
>> willeasily fit in with a remote as it is key driven:
>>
>>  Keys: 0-9:             0-9
>>                                  Insert or I      Add
>>                                  Cursor Keys      Arrows
>>                                  >,<              Fwd,Rew
>>                                  Home or H        Home
>>                                  End or N         Now Playing
>>                                  Space or P       Pause
>>                                  Enter            Play
>>                                  Q                Quit
>>                                  R                Repeat
>>                                  S                Shuffle
>>                                  ?                Search
>>                                  b                Browse
>>                                  F                Favourites
>>                                  %                Size
>>                                  Z                Sleep
>>                                  +,-              Vol up,down
>>
>> I will probably incorporate it into a shell like I did slimp3 per my
>> 2007 post, when I get round to it.
>>
>> I would love George to redo his mythsqueeze plugin, it'd look much nicer.
>
> I use squeezeslave and I believe (although George should correct me if
> I am wrong) that mythsqueeze was based on squeezeslave.
>
> The only gotcha with squeezeslave is that if you use ALSA, don't use
> pulse, then squeezeslave will take over the audio output even when no
> music is being played so you can't use myth (at least the audio
> portion) until you kill squeezeslave.  I have a button on my remote
> that triggers an irexec event to execute a script that calls up
> squeezeslave.  I have my lirc file configured so that whenever I hit
> stop, squeezeslave is killed (regardless of if squeezeslave is running
> or not -- not the most elegant script but it works).
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Yes, Mythsqueezebox was/is based on squeezeslave.  The first
incarnation actually took bits of squeezeslave and incorporated it
into the code, the second version simply uses QProcess to create an
instance of squeezeslave while the plugin is running.  The advantage
to this approach is both that I don't have to do anything to keep up
with development of squeezeslave, and second, since QProcess
terminates with the plugin, you don't have the problem of squeezeslave
grabbing audio and not letting go (though I believe this has been
fixed).

I'll see if I can cobble something together this weekend or next and put it out.

George


More information about the mythtv-users mailing list