[mythtv-commits] Ticket #10698: Frontend network control in 0.25 is asymmetric with respect to music jump point
MythTV
noreply at mythtv.org
Sun May 6 21:48:08 UTC 2012
#10698: Frontend network control in 0.25 is asymmetric with respect to music jump
point
--------------------------------------+----------------------------------
Reporter: Gregory Moyer <moyerg@…> | Type: Patch - Bug Fix
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: 0.25-fixes | Severity: medium
Keywords: | Ticket locked: 0
--------------------------------------+----------------------------------
In 0.24, the jump "playmusic" resulted in a location of "playmusic".
{{{
MythFrontend Network Control
Type 'help' for usage information
---------------------------------
# jump playmusic
OK
# query location
playmusic
#
}}}
However, in 0.25, the same "playmusic" jump no longer returns the same
location response.
{{{
MythFrontend Network Control
Type 'help' for usage information
---------------------------------
# jump playmusic
OK
# query location
playlistview
#
}}}
This makes code for external libraries slightly more complicated. It is
also a little less than intuitive for the user typing commands into the
network control socket.
The attached patch adds "playlistview" as a synonym to "playmusic" to
allow for symmetry between the jump and the resulting location, while not
breaking anything or anyone expecting "playmusic" to work.
{{{
MythFrontend Network Control
Type 'help' for usage information
---------------------------------
# jump playlistview
OK
# query location
playlistview
# jump mainmenu
OK
# jump playmusic
OK
# query location
playlistview
#
}}}
Synonyms have been created in the past with other jump points (i.e.
playbackbox and playbackrecordings), though I do not know the reasoning
behind those.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10698>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list