Selecting What Child Of A SerialElement To Play Next

Is there a smart way to pick which child to play next in a serial element without modifying the internal SerialElementTransitionManager class? I understand the SerialElement by definition just plays elements in sequence, but it would be handy to be able to choose which child to play instead of having to deal with seeking using duration or chapter cuepoints. It seems the seeking fix suggested here (https://bugs.adobe.com/jira/browse/FM-952) is a bit clunky and thought there might be a different workaround that involved just changing the currently playing child and not seeking to a time.
One option I've been playing with is looping through a serial elements children (which I've made all proxy elements) and blocking the PlayTrait of all the children I want to skip over. This doesn't seem to be a very good solution either especially since I'm only able to move forward in time and can't skip backwards.
Thoughts?

Another possible approach here would be to use a custom ProxyElement rather than a SerialElement.  This custom ProxyElement would maintain a list of children (similar to SerialElement), but it would only expose one child (the active child) by setting it as the proxiedElement.  When that child dispatches the "complete" event, then it would change the proxiedElement to the next child.  Unlike with SerialElement, you could choose which child gets set as the next child, and in general have more fine-grained control over the behavior of the children.  We have a simple example of this in the ExamplePlayer sample, called SwitchingProxyElement.
That being said, it's important to understand that the advantage of SerialElement is that it was built to handle serial transitions between  elements no matter what set of traits each child element has.  For example,  if you transition from a playable element to a non-playable element, or a  temporal element to a non-temporal element (or vice-versa, or with the various permutations of  these traits), then SerialElement does the right thing.  However, if  your child elements are all playable/temporal, then the transition is  fairly straightforward, and could easily be implemented in a custom  ProxyElement.

Similar Messages

  • ITunes should have a "Play Next" feature

    Hey all,
    I'm not sure about anyone else, but when I am playing music on iTunes, I would love to have a "play next" feature. For instance, if you're listening to one song and you know what song you would like to play next, you can simply just select that song and choose for it to be "played next." I get annoyed by making playlists and it just clogs my side bar on iTunes whenever I decide to do so.
    Anyone know how I can contact Apple to let them know they need this feature on their next update?

    Hi, I totally agree with PJM1. The party shuffle will do the trick for one subsequent song, but not if you want to say build a cue of 4 or 5 then sit back and listen. Sending a second song to the party shuffle replaces the first one sent there. There should be some sort of temporary cue you can build with a simple click. And it would be even better if iPods had the same feature, where some button combo told it to play whatever song as soon as the current one is finished. I find it really annoying, especially when driving, to navigate to a song, then have to wait for the first one to end, then navigate back to select the next one while some song I don't wants starts up.
    There was once some sort plug in that supposedly did it, but when I tried it it didn't work. I think it was for like iTunes 4 and didn't work even with iTunes 6.

  • The "Play Next" function in the search drop down menu does not work

    I don't know if anyone else has had this problem but my search drop down box is no longer working. It does show results but I cannont select them of add the songs to Play next on the playlist. I have iTunes 11.1.3.8
    Thanks for your time

    Pat,
    Your menus look fine on my system, too. It is possible that your user is working on a system with javascript turned off, either on her own computer or, if she is in a company, turned off by the network administrator. Ask her how she is viewing your website...laptop, desktop, smartphone, tablet, etc., to help you pinpoint what your solution will be.
         If her javascript is turned off (not to be turned on...), one strategy around this is to create pages linked to your top level menu items. On those pages, you can make text links (not dropdowns) to the menu items that show on the drop-downs. This could be paired with the next idea, as a sort of belt-and-suspenders solution.
        A less obtrusive way: Add a secondary, substitute text menu that only appears when javascript is turned off by using <noscript> </noscript> tags around the secondary menus.
         Be wary of solutions that require you to tell different users different things.
    Beth

  • How To Select All Songs In An Album To Play Them?

    How can I easily select all songs in one album to play them?
    Now I have to click the checkbox for each individual song. Surely, there is a shortcut for this??? I keep the library sorted by album. And, no, I am not going to do playlists.
    And, by the way, why isn't there a detailed manual showing how to use the product?

    cochranjk2 wrote:
    If you turn on the Browser while in that list view, then the album art continues to display when you select a single album from the browser pane.
    The browser has three columns. The right hand column lists the albums without album art. I found no way to change that behavior. Yes, I can search for the album by name, but that's not what I would normally do.
    The album art continues to be displayed in the area below the Browser.
    Why are you closing the Browser? You can navigate away from the window with the Browser in it and edit data on any of your other tracks. When you come back, the album you selected will still be selected, and it will stop playing at the end.
    (I'm also not sure what you mean by "go back to the Library". When you turn on the Browser, you're still in your Library; it's just a different view mode. Are you navigating to a different playlist?)
    I close the browser so I can see the list of tracks and albums in the library. With the browser open and one album selected (to play it), it is the only album visible in the library. I found no way to "navigate away from the window with the browser" - the browser is the only view of the library available at that point. I am not using playlists at all (except for syncing with my iPhone and occasionally to burn a CD) so, no, I am not navigating to a different (or any) playlist.
    Aha. That's easy enough to fix: create a playlist (called "Editing" or something) containing all of your music. (You could make it a smart playlist, using the rule "Date added is after 1/1/1900"). Then, while leaving the Browser open in your main library window, you can navigate to your Editing playlist to do all your editing. Then your album will remain selected, and keep playing, in the main library.
    iTunes's functionality is dependent on playlists. There are solutions to the problems you are having, but trying to solve problems without using any playlists is like asking for help with organizing things on the Desktop without wanting to use folders.
    Here's another solution: Leave everything checked, as I said above. Create an empty playlist, and tell Party Shuffle to use that empty playlist as its source. Then, if you highlight tracks, control-click them, and choose "Play next in Party Shuffle," Party Shuffle will add those tracks and play only them, then stop (because it will try to draw the next track from the empty playlist, and not find anything). I just tested this; it works fine.
    Sorry, but I have no idea what you are talking about. After messing around for 20 minutes or more, trying the iTunes (pitiful) help, and finding nothing usable about "Party Shuffle" (the so called help describes things I was unable to locate -- no Party Shuffle playlist, no source pop-up menu, etc.), I quit.
    Step-by-step:
    1) In Preferences > General, make sure the "Party Shuffle" checkbox is checked in the "Show:" options.
    2) Close Preferences, then select the Party Shuffle icon in the Playlists column on the left of your iTunes window. It's probably populated with random songs from your library at this point.
    3) Create a new playlist (command-N), but don't add any songs to it. Name it "Empty" or something similar.
    4) In the Party Shuffle playlist, in the lower left-hand corner, there is a drop-down menu labeled "Source". Select your Empty playlist from that menu. (iTunes will probably warn you that the playlist you selected is empty.) Note that the Party Shuffle playlist depopulates, because it is drawing its music from an empty playlist.
    5) Return to your library, highlight an album (or any group of songs), and control-click any of the tracks. Select "Play next in Party Shuffle" from the contextual menu that appears.
    Party shuffle will play the tracks you selected. When it gets to the end of the selection, it will try to draw a random track from the Empty playlist, and fail, and stop playing. You can then continue to edit song information in your library, or navigate to the Party Shuffle playlist if you want see what's playing and look at the album art that's being played.
    This solution does exactly what you asked for.

  • How come when i select a song in my music it plays the song before it?

    How come when i select a song in my music it plays the song before it? i  tried restarting it , could it be because i dropped my phone on concrete, can that screw up my phone , the screen is in perfect condition i only got scratchses on the corners on the left side of my phone , i dont know what to do pls help

    Hi m.cohen1220,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing. If it is consistently selecting something away from the location of your tap, especially if it's happening in multiple apps, you may have an issue with the display response. You may find the troubleshooting steps outlined in the following article helpful:
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Regards,
    - Brenden

  • ITunes 7 and Manually Selecting What Songs to Update

    I can't seem to find how to manually select what songs i want to update to my ipod. When i connect it, i check the box that says "manually manage music and videos" and then click the "music" tab at the top, but all that is there is "sync music" and an option box for "all music and playlists."
    I want to be able to select exactly what songs i want to update over to my ipod, like i could with iTunes6.
    Btw, i have the latest software update.

    This is ludicrous. Meant to be an 'upgrade' yet has totally messed up what I can do with my i-Pods (three and counting...)
    With my i-Pod Shuffle, I can see a 'contents' tab, which lets me browse the individual songs like before, play them, delete them, add to the list, etc. With my i-Pod 15GB (a bit old, but I won the darn thing), I have no 'contents' tab. I can't get this up at all. I either have to delete everything or install everything, as a 'mirror' copy of i-Tunes music folder.
    Has anyone figured out how to get the 'contents' folder to appear with anything other than a Shuffle? I also have a Nano (for down the gym - I need to unwind after this lot!)
    Peeved.
    Toshiba Laptop   Windows XP Pro   1GB RAM

  • Make selected song play next?

    It seems so simple..
    I have a remote music library which is shared to my laptop. Then I play songs (selected on the laptop iTunes) via airtunes to the stereo.
    All I want is to play a song then while it's playing peruse the shared library, select a song and have it play next. Real simple DJ'ing just for me.
    I can't use playlists on the remote laptop... it won't let me make them from shared songs. And besides my somg choice is very spur of the moment and depends on what I find at the moment.
    Can it be done?
    It seems so simple....
    Lee

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the corrupt tracks from the music section of your iTunes library, close & then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unchecked. This seems to help with partial downloads...
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the "Report a problem" links in your account history, or via Contact Support.
    See also:
    HT5085 - iTunes in the Cloud and iTunes Match Availability
    HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • Since reinstalling itunes i can no longer sync. Error message says already synced with another itunes library. I get a blank sync - no songs, photos ect as it comes up with this error whenever try to select what is to be synced. Help - lost everything

    Since reinstalling itunes i can no longer sync. Error message says already synced with another itunes library. I get a blank sync - no songs, photos ect as it comes up with this error whenever try to select what is to be synced. Help - lost everything. Complete nightmare - Apple sort a fix NOW, but will take any help

    Plawexki wrote:
    ...  do you know if the contacts, photos, messages etc will be wiped?
    Yes... Everything will be Wiped and Replaced with what is currently on Your Mac.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/
    You may find this information of interest...
    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

  • How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    I don't think Finder does this (I've tried).
    iTunes does though. Where you can set artwork or the "poster frame"...
    This may not be what you want but if it helps, I know 2 ways  do this is
    Open the video in QuicktimePlayer7 | View | Set Poster Frame (even then, you might need to save it as .mov (ie in a 'mov container').
    Drag the file into iTunes and set the artwork (as in http://www.dummies.com/how-to/content/adding-album-cover-art-or-images-in-itunes .html)
    From there, iTunes will use that frame as the "poster frame" ie the photo/frame that shows when you browse your videos. Which is what you want, but limited to iTunes.
    When I do either of these above, the frame I set does not show when exploring files in "Finder" (or in the other Explorer tool I use called "Pathfinder").
    So it maybe, that exactly what you want, is not possible.

  • Select a song to play next (after current song)

    I love iTunes, but for me it's just missing one thing....
    I can't (at least I don't know how) select a certain song from my playlist to play AFTER the current song is finished... If it would have that function, or a way to do this, it would be ALL I need for a music player.
    Is there a way in iTunes to select the song to play next?
    And/or arrange your playlist in the way (the order of songs) you want?
    Message was edited by: AppleOD

    *Is there a way in iTunes to select the song to play next?*
    iTunes doesn't have the "queuing" option you describe (except within the Party shuffle function which queues songs and within which you can drag songs into order). If you'd like to see an option like this in some futer version of iTunes you can send feedback/feature requests directly to Apple at this link: Apple Product Feedback
    *And/or arrange your playlist in the way (the order of songs) you want?*
    Open the playlist and click on the number column (extreme left). Click on the song you want to move, hold down the mouse button and drag the song to where you want it to be. Make sure neither Shuffle or Repeat are switched on in the playlist, either of those can prevent you reordering tracks.

  • I have multiple email accounts in my iPhone. Before the 6.0 update... I could select what account to send from. Now it's a default. Do I have to go change the email default everytime I want to send an email from a different account?

    I have multiple email accounts in my iPhone 4. Before the 6.0 update... I could select what account to send from each time. Now it's a default. Do I have to go change the email default setting everytime I want to send an email from a different account?

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • What application will allow me to play movies with an external disc drive?

    What application will allow me to play movies with an external disc drive? I recently purchased an external disc drive and when testing it discovered that it only played the audio of the DVD, not the video.  Very frustrated.

    Are you referrring to a commercial DVD movie, or a disk with digital movies, such as mpeg files?

  • What model do i need to play high bitrate bluray 1080p movies

    Hi
    I want to buy a macbook pro.
    As the topic says: What model do i need to play high bitrate bluray 1080p movies without noticeable losses of frames?

    if they are with DRM you need the hdmi cable if your tv have hdmi that is
    if they are not DRM then you can use the component cable if your tv have component
    if they are not DRM then you can use the composite cable if your tv have composite
    top is best
    button is worst in terms of quality

  • What codec do i need to play .mov on windows7

    what codec do i need to play .mov on windows7 i get a message saying im missing components, then sends me to a page with several

    Quicktime should be able to natively handle .mov files. Make sure you have the latest version of Quicktime installed on your computer. If that doesn't work, try an alternative media player like VLC, which can play just about any type of media file.

Maybe you are looking for