Hi Torben,
Is it possible to add a copy/cut/paste functionality in mairlist playlist? Sometimes I have an items, I must use in playlist more times, so copying it and pasting will be easier, rather than searching in folders, and adding to playlist.
I have been trying to implement it (along with drag&drop among multiple instances of mAirList, which is essentially the same technique), but there are still some problems I haven’t been able to solve yet.
I agree that writing drag and drop code is a total PITA.
Whilst working with mAirList yesterday, I thought of a new feature which would be complementary to and very useful for some Playlist copy/paste operations.
Would it be possible when two or more Items in a Playlist are selected (even non-contiguous Items selected with Ctrl+click) to display (somewhere! :D) the number of Items and the total EffectiveDuration? Something like:
4 items selected, 17:35 total
…obviously (?) no need to display this when only one Item is selected!
I don’t know whether the SystemLog and Clock are in a StatusBar control (?); if so, a new StatusBar area between SystemLog and Clock seems the correct place for this. If not, maybe it could be displayed somewhere in the PlaylistToolbar?
I tihnk this would also be a useful feature when you are in ASSIST mode and trying to work out which tracks to ‘drop’ to fit the time left at the end of an hour. Ctrl-click the ‘drop’ candidates until the total ‘overtime’ you’re about to Delete is correct. 8) Or for any other occasion when you want a quick ‘calculator’ for the total duration of any number of Items less than ‘everything in the Playlist!’
I look forward to everyone else’s thoughts on this one.
BFN
CAD
In the meantime, I managed to make friend with the Clipboard functions. Copy/cut/paste for the playlist (and some other things: event list, cue positions, …) will be available from mAirList 3.0.
Cad: Good idea. One more for the list.
Cad - another way of assisting with this sort of thing is to place an end of Playlist DUMMY item (scheduled or manual) so you know when the Playlist will end - then, you can drag items after it to remove them from the calculations as you shuffle tracks to meet your backtime position.
Thanks Charlie, good thought.
But there are lots of other situations where I would find it very handy to know (for example) the total time of (say) three random non-contiguous items, ideally without needing to move them (in which case, if I need to put any back, I’d probably forget :-[ where they originally were!).
BFN
CAD
Another place we may need to know the total duration of audio is the total duration of any linked items or containers. Something suggested elsewhere in the forums.
Kind regards tony
Containers are already listed with their total duration, aren’t they? And where can we display the total duration of a linked item chain?
Sorry Torben, yes I misquoted containers.
To display the total time of linked items, perhaps put this in the player when the first item in the link is loaded with something to indicate a chain of items.
Alternately (my least favourite as there is lots in here already) a new column or is it row in a playlist next to the first item linked.
Any other suggestions where to place this feature?
Kind regards Tony
I would suppose the most flexible option for “Linked Item Duration” would be an option ScreenObject…
WHOA there, guys!
If Torben is able to implement an Explorer-style ‘total selected/time’ display as I suggested above, all you would need to do to display the length of a ‘chain’ of Linked Items would be to select them all (don’t forget the last un-Linked one ;)). mAirList would then do the rest (or am I missing something here?).
I am certainly against the idea of Yet Another Playlist Column.
I also cannot understand why on earth anyone would ever need to know the total duration of a set of Linked Items nor have that displayed ‘permanently’ on screen ???, but if someone else really really needs that, fair enough. (Why do you need that, Tony?!!)
BFN
CAD
Hi Cad, its something we already have in the program we use.
Its handy to know when taking a break (we’ve discussed and agreed the use of such elsewhere in the forums).
I do not see a total duration of linked items anywhere, what you can see in a playlist is the estimated start time of each item. If you had say 5 items in a playlist and linked 1,2,4 and 5 as we currently can in dualplay. mAirlist would not show the total duration.
We could drop into auto in mAirList but most of our programmes don’t actually run from a scheduled playlist!
Kind regards tony
Tony, I was referring to my REQUESTED FEATURE as mentioned in this post above:
http://forum.mairlist.com/index.php/topic,1958.msg17932.html#msg17932
I am quite aware this feature does not ALREADY exist in mAirList; I am saying that if it DID exist, it could presumably be used to address your request as well.
BFN
CAD
Hi Cad, sorry my mistake. :-[
Must learn to read things correctly before jumping!
Kind regards Tony
No problem, Tony!
BFN
CAD
Ah. Obviously it is more difficult than merely adapting the existing drag/drop which allows IPlaylistItems to be drag/dropped from (for example) the Recycle Bin on to a Playlist?
BFN
CAD
Yes. For intra-application drag&drop, you can use Delphi’s mechanisms which conveniently provide you a pointer to the object from which the items where dragged. Just ask that object for its currently selected items, insert them into “yourself”, and you’re done.
For inter-application drag&drop, the objects cannot communicate with each other. Instead, the originating object must copy the items into some OLE data structure, for example using a global memory area (“hglobal”). You must also provide a list about which formats you supports etc.
Copying from and to Clipboard also uses the same mechanisms as the latter drag&drop method, although it’s slightly easier to implement.
So far, I have managed to get the Clipboard functions to work. The next step will be inter-application D&D.