[mythtv-commits] Ticket #4077: Add tracks to playlist from main window
MythTV
mythtv at cvs.mythtv.org
Sat Oct 13 11:18:42 UTC 2007
#4077: Add tracks to playlist from main window
-------------------------------------------------+--------------------------
Reporter: Paul Lambert <paul at planar.id.au> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythmusic | Version: head
Severity: low | Mlocked: 0
-------------------------------------------------+--------------------------
This patch contains two similar but different functions. Both allow new
ways for a user to add tracks to the active play queue whilst in the main
mythmusic window. The first allows you to add the currently playing track
to the active play queue, the second allows you to add the currently
selected track to the active play queue.
For the first, my intent is to be able to use this in combination with the
tree view in the main mythmusic window. I want to be able to browse
through all my music using the tree view, and listen to songs. When I
like one, I want to be able to add it to the active play queue, which I
will later save as a new playlist. This resolves a problem I find when
creating playlists, which is that I cannot always remember the song from
the title, and want to listen to it before adding it.
To test this function you should select tree view from the options. You
can start with an empty or partially filled active play queue. Navigate
to a different playlist, or to "all my music." Start a track playing, and
then select menu ("m"). Select to "Add playing to active play queue."
When you navigate back to the active play queue, you should see that the
track has been added.
The second function is similar, but aims to add the currently selected
track to the active play queue without disrupting the tracks that are
playing. This is to handle the situation where I have people visiting and
they want to add music to the active play queue. Without this patchthis
is quite complex, with the user needing to go to the edit playlist screen.
This is potentially complex for a novice user. With this modification
they can simply navigate the tree view to see tracks that they want to
add, and then use the menu to add their selected track to the active play
queue. This allows me to start the evening with a relatively small play
list, and allow people to add tracks they want to listen to as the night
progresses.
To test this second function, you start playing a track from the active
play queue (or actually, in any playlist). You then navigate to another
track, whether in another play list or in all my music. You highlight the
track (but don't start playing it), select the menu, and "Add selected to
active play queue". When you navigate to the active play queue you should
see your new track there.
The code changes are relatively minor, probably the main concern is making
this menu a bit longer. It may cause problems with large fonts/low
resolution screens. It is fine on both my backend machine (with a
monitor) and my front-end connected to a TV.
The files modified are playbackbox.cpp and playbackbox.h
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4077>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list