------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=73237
------------------------------------------------------------------------
Question: What do you think about "touch-to-play-album" for
cover art in iPeng?
    
- I use this and like it.
- I don't use this and it disturbs me
- I don't care
------------------------------------------------------------------------

pippin;502426 Wrote: 
> 
> I'd say it should simply save the previous state for any operation
> acting on the current playlist. That's really not a lot of data for
> adding/removing single tracks, the full PL only has to be saved for
> "clear".
> 
If implementing as a plugin I think you need to save the state after
someone has modified the playlist because I don't think there is any way
to hook in before a change. However, the end result will be the same:

1. Current playlist is empty

2. Album1 is played to playlist
-> Save state with playlist based on Album1

3. Album2 is played (playlist clear and album2 added to it)
-> Save state with playlist based on Album2

I think there might be some cases, at least in Custom Browse, where
playing a album actually issues a play command for each track on the
album. In that case there will be 12 states to save (one for each
track). This scenario was what I was trying to avoid by not saving a new
state when a track is added. An added track would just update the
previous state. A undo operation in this situation probably want to undo
to the playlist before the album was played in one single step. Of
course, there are probably other ways to accomplish this too.

The reason Custom Browse issues a play command per track is that it can
be a filtered menu that just shows some tracks of the albums, for
example tracks rated with 4 stars.

Anyway, it requires some work but it should be possible to implement
for someone that has the time and interest to do it.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=73237

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to