[mythtv-users] MythMusic on resume
Paul Harrison
mythtv at sky.com
Mon Jan 7 23:47:00 UTC 2013
On 07/01/13 22:07, Josu Lazkano wrote:
> 2013/1/7 Paul Harrison <mythtv at sky.com>:
>> On 06/01/13 19:39, Josu Lazkano wrote:
>>> Hello list, I have a new MythTV system with 0.26 MythMusic version. At
>>> first days it was so difficult to understand the playlist method (on
>>> the last version I used the directory way). Now I love it and is so
>>> easy to use it.
>>>
>>> But I have a little problem. When I am playing a playlist it works
>>> well. Then I go out from MythMusic and if I enter without switch off
>>> the PC it start in the same playlist. This is great.
>>>
>>> The problem comes when I am playing a playlist and exit from the
>>> MythMusic and shutdown the computer and start again the MythMusic, it
>>> start with a different playlist than the last I wa played.
>>>
>>> Is this normal? Could someone confirm this?
>>>
>>> Thanks and kind regards.
>>>
>>> --
>>> Josu Lazkano
>>>
>> It's definitely not normal. How are you shutting down your system? There was
>> a problem with MythMusic not saving the playlists until the FE cleanly shut
>> down. The problem is if you use the FE popup menu to shutdown your systems
>> the FE never cleanly shuts down so MythMusic never gets a chance to save the
>> playlists properly. The version of MythMusic in my fork saves the playlists
>> when they are changed not on FE exit so doesn't have this problem. I think
>> Stuart Morgan may have cherry picked the fix into master as well but to be
>> honest I've completely lost track of what fixes he has applied to master.
>> Don't think he has applied any MythMusic fixes to 0.26-fixes so that bug is
>> likely still present there.
>>
>> Paul H.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
> Thanks Paul for the reply.
>
> I use to shutdown with the popup menu. Is there any other way to shutdown?
>
> I never open a ticket on the bugtracker. Could someone help with this issue?
>
> Thanks for your great help.
>
> Kind regards.
>
> --
> Josu Lazkano
>
Stuart has applied the patches to master
(http://code.mythtv.org/trac/ticket/11228) but not to the fixes branch
so the problem is still there in 0.26-fixes.
One way to make sure the FE shuts down cleanly would be to use
MythWelcome. You set things up so MythWelcome starts up first and
automatically run the FE. You set up the FE to just close on exit which
returns you to MythWelcome. You can then use the popup menu on there to
shutdown.
Alternatively you may be able to use a shutdown script that delays
shutting down the system allowing the FE time to exit cleanly. I think
by default the FE uses dbus or something like that to shutdown but you
can change it to use a script. You will probably have to make sure the
setting to run the script will run it in the background so it returns
immediately to the FE allowing it to shutdown while your script waits a
while for the FE to exit before shutting the system down.
You could could also try to persuade Stuart to apply the fixes into
0.26-fixes and then there wouldn't be a problem :)
Paul H.
More information about the mythtv-users
mailing list