[mythtv-users] Myth Music RepeatMode setting missing

Steven Adeff adeffs.mythtv at gmail.com
Mon Nov 22 23:50:06 UTC 2010


On Sun, Nov 21, 2010 at 5:32 PM, Alan Walls <Alan.Walls at trimble.co.nz> wrote:
>
>> >
>> > > For a while now Myth Music has been annoying me because my lounge
>> > > frontend keeps resetting its Repeat mode to "All" when I like it set
>> > > to "None".
>> > >
>> > > Today I looked in the MySQL database and found that this frontend
>> > > doesn't have a RepeatMode setting while my other frontend does.
>> > >
>> > > Adding this setting fixed my problem.
>> > >
>> > > Is this normal behaviour for settings or is it a bug?
>> > >
>> > > I have just upgraded to 0.24
>> > >
>> >
>> > I'm guessing you just failed to set it. I'm pretty sure you set it in
>> > MythMusic every time you toggle the repeat mode (right where you use it,
>> > and it remembers what you last used). It's not in settings. Therefore,
>> > you were using the default value since you had never toggled the mode,
>> > so there was no reason to ever write the mode to the database.
>> >
>> > Mike
>> It has been like this for months, ever since I rebuilt my frontend changing the machine name of my > frontend.
>> I regularly change the setting from All to None by pressing 2 on my remote.  Do I need to do something > else to save the setting?
>
> More testing shows that the setting is still not saved, it just now stays at a default I am happy with.  The Shuffle setting also doesn't get save.  All other Mythtv settings are working as expected so I don't have a database permission issue.
>
> Looking at the code I wonder if the problem is caused by the settings only being saved in the MusicPlayer class's destructor.  This combined with the delayed delete using Qt's deleteLater() function may be causing a race condition failure.
>
> Alan.


same issue I've been having! I'll have to see what my the settings in
my database hold for this. though I do know it happens on *all* my
forntends. they generally default to repeat all, which I always
change, and occasionally they'll load up as repeat none.


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list