Opened 14 years ago

Closed 13 years ago

#10698 closed Patch - Bug Fix (fixed)

Frontend network control in 0.25 is asymmetric with respect to music jump point

Reported by: Gregory Moyer <moyerg@…> Owned by: paulh
Priority: minor Milestone: 0.27
Component: MythTV - General Version: 0.25-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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.

Attachments (2)

mythfrontend-version.log (871 bytes ) - added by Gregory Moyer <moyerg@…> 14 years ago.
frontend-nc-music-jump.patch (702 bytes ) - added by Gregory Moyer <moyerg@…> 14 years ago.

Download all attachments as: .zip

Change History (4)

by Gregory Moyer <moyerg@…>, 14 years ago

Attachment: mythfrontend-version.log added

by Gregory Moyer <moyerg@…>, 14 years ago

comment:1 by stuartm, 13 years ago

Milestone: unknown0.27
Owner: set to paulh
Status: newassigned

Paul, this looks like a very easy one to close.

comment:2 by Gregory Moyer <moyerg@…>, 13 years ago

Resolution: fixed
Status: assignedclosed

In fe642a21c5ce12cff9c968a58e5693b76c4debef/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.