1

Transitions in MRSS and Dynamic Playlists

A customer asked how he could add a transition to a media rss feed or dynamic playlist. There isn't currently a setting in brightauthor for this. But, you can modify the autorun script published with brightauthor to add a transition. Additionally, this customer wanted to randomize the transitions used. In the example below, a different transition is used each time the unit checks to see if the feed has been updated, so each time through the feed.  

 

In this function, you'll find the transition setting for mrss feeds and dynamic play lists.


Function newFeedPlayer

 

Change these line: 

if type(fp.imagePlayer) = "roImageWidget" then
              fp.imagePlayer.SetDefaultTransition(slideTransition%)
endif

 

To these two lines:

 'if type(fp.imagePlayer) = "roImageWidget" then

          slideTransition%=rnd(29) 'up to 29 
          fp.imagePlayer.SetDefaultTransition(slideTransition%)
'endif

 

 

 

To randomize transitions every time an image plays in the mrss feed or dynamic playlist, search for this function and make the changes below:


Function pFeedPlayer_DisplayItem( item As Object ) As Boolean

 

Original line:
m.imagePlayer.SetDefaultTransition(m.slideTransition%)

add line:
m.slideTransition% = rnd(29) 'up to 29
m.imagePlayer.SetDefaultTransition(m.slideTransition%)

 

Original line:
m.imagePlayer.SetDefaultTransition(0)


Add line, and change existing line:
m.slideTransition% = rnd(29) 'up to 29
m.imagePlayer.SetDefaultTransition(m.slideTransition%)

Note: If you don't want to randomize, you can just set the slide transition to a specific number. Zero is no transition. In BrightAuthor, the list of transitions start at 1 and go up to 19. There  are 5 additional transitions 20 - 24 that don't perform well on slower brightsigns that weren't listed. And, transitions 25 - 29 are only on the xd. 

15 comments

  • 0
    Avatar
    Monica Knutson

    This is a feature set that we'd certainly like seen in the BrightSign Network!  One of our customers' most commonly requested feature.

  • 0
    Avatar
    Jared Leib

    This is great.  Sorry for the ignorance but how do I modify the autorun file and publish it to brightsign network along with the existing dynamic playlist on BrightSign network?  I can't seem to find a way to modify the XML autorun file separately.

  • 0
    Avatar
    Alex

    You can find the autorun.brs on the sd card after you publish a project. Copy it to your desktop. Make the change, then attach this custom autorun to your project, under the file menu, presentation properties, autorun, custom. See this FAQ:

    http://support.brightsign.biz/entries/23697378-How-to-add-a-custom-script-to-a-BA-presentation-

    We recommend saving the project under a new name (File - Save Presentation As) after adding the custom autorun.

    These autorun versions tend to be BrightAuthor version specific. So, you can't use a specific autorun with an older BrightAuthor or a newer BrightAuthor than what you're using right now.

    Please also read this important note:

    http://support.brightsign.biz/entries/21780009-How-Can-I-Get-Custom-Autoruns-to-Work-on-the-BrightSign-Network-

    Once you added the custom autorun to a project and saved a project under a different name, press "Upload to network" button. Click on Publish, select BrightSign Network, add newly uploaded presentation to a schedule and publish a schedule to a desired group.

  • 0
    Avatar
    Monica Knutson

    Any hopes of adding this type of functionality yet for BrightSign Network dynamic playlists?  :)

    Perhaps as a new key in the XML for "transition" and have the enumeration be used to cycle through the script?

    One of the reasons our customers refuse to use the dynamic playlists is the slam cuts between images.  They want fades, combs, and the "interesting" transitions they can get in BrightAuthor.

    Thank you for looking into this feature request.

  • 0
    Avatar
    Alex

    This has been added to our list of requests under # 16315. Target date for the feature implementation is not available currently.

  • 0
    Avatar
    Stephen Pilkington

    Is this still relevant? I don't see any of this code in autorun.brs

  • 0
    Avatar
    Magnus C Lydahl

    Is there any news regarding this "Target date for the feature implementation"?

    I have a customer that would really want to be able to fade between the images and videos in a Dynamic Playlist.

  • 0
    Avatar
    Monica Knutson

    Dynamic Playlist transitions still remain one of the most frequently asked for options for our BrightSign Network customers as well.  We're hoping that it will be coming soon.  Transitions make the presentations look more polished versus just a slam between pictures which can get very sophomoric.

    I can understand why it may be difficult, given the propensity to mix video and images within the playlist.  The code has to be "smart" enough to recognize when a state is a video and when it is an image and then apply the transition value.   Perhaps having a "state type" xml key/value pair in the playlist XML would help the player determine whether the object is a video or image.  

    Please let us know when this feature has been addressed.  Thank you!

     

  • 0
    Avatar
    Lyndon

     

    Using brightauthor 4..4, you can add a standard media rss feed to an image list or video list. Using an image list, you can turn on transitions.  So, if you add an image list to your playlist, and check the option to have it populated by a feed, and choose your mrss feed, you'll get feed playback with transitions.

     

    Video transitions are not currently supported in brightauthor.  There is a video fade feature that's supported in firmware, but it's not in brightauthor yet. 

  • 0
    Avatar
    Magnus C Lydahl

    Are you sure this works? When I add an Image List the option "Populate from data feed" is disabled / greyed out.

    Ah, now I see... I use BrightAuthor 4.3.0.16 which seems to be the latest available version for download, when will 4.4 be available?

  • 0
    Avatar
    Alex
  • 0
    Avatar
    Magnus C Lydahl

    Thank you, downloaded and installed now but I still can't use this option for an Image List, the "Populate from data feed" is still greyed out.

    I've tried with the Media List and the Video List too, still greyed out. I've also checked the Image Play File but the option for "Specify data feed" is greyed out there too.

  • 0
    Avatar
    Alex

    First you should go to File > Presentation Properties > Data Feeds and add a media rss or dynamic playlist to the presentation. Data feed content usage must be set to "Content for Image List, .... or PlayFile".

  • 0
    Avatar
    Magnus C Lydahl

    There it is, of course! I used a Data feed but it was a MRSS Feed, changed to "Content for Image List..." and it works fine, thank you for your quick answers!

  • 0
    Avatar
    Robertk

    I tried the same thing...I installed the beta version, created a data feed with "Content for Image List..." set, etc...

    But nothing shows....It's like the images/videos are not there.

    Any Ideas?

    -------------------------------

    after posting this I created a new/fresh presentation. And it worked with that.

    Maybe it wasn't working with my old presenation, because I created that presentation with the older version of brightauthor? could that be?

    ---------------------------------

    Second question:

    When using the Image List with a Dynamic Playlist....Which image duration do I go by? The Dynamic Playlist Image Duration or the Image List Duration?

    Robert

Please sign in to leave a comment.