Jump to content


Photo

Check if video has PREVIEW THUMBNAILS


  • Please log in to reply
7 replies to this topic

#1 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 770 posts
  • Local time: 11:36 AM
  • LocationCALIFORNIA

Posted 02 May 2020 - 01:37 AM

With C# SDK, how can I check if a BaseItem has Preview/Thumbnail/bif images generated & available for use? 


Edited by rechigo, 02 May 2020 - 01:38 AM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156698 posts
  • Local time: 02:36 PM

Posted 02 May 2020 - 04:21 PM

I'm not at my desk right now but there should be something like a item.GetThumbnails

#3 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 770 posts
  • Local time: 11:36 AM
  • LocationCALIFORNIA

Posted 03 May 2020 - 05:18 PM

Could not find any method like that, searched for a lot of key words and did not find anything

 

Is this something I need to get with library manager or another interface?



#4 mickle026 OFFLINE  

mickle026

    Advanced Member

  • Members
  • 394 posts
  • Local time: 07:36 PM

Posted 03 May 2020 - 05:23 PM

Is it in ImageService

 

/Items/{Id}/Images/{Type}

 

Type - thumb ?



#5 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 770 posts
  • Local time: 11:36 AM
  • LocationCALIFORNIA

Posted 03 May 2020 - 05:45 PM

No, sorry, I am talking about the geting the BIF images via C# (not via HTTP requests)

 

The bif images are used to display a graphical preview when scrubbing:

 

88x.png



#6 mickle026 OFFLINE  

mickle026

    Advanced Member

  • Members
  • 394 posts
  • Local time: 07:36 PM

Posted 03 May 2020 - 05:56 PM

Ok,   namespace RokuMetadata.Api,   internal class ThumbnailSetInfo

 

No idea how to use.  So can't help - sorry.
 



#7 rechigo OFFLINE  

rechigo

    Advanced Member

  • Members
  • 770 posts
  • Local time: 11:36 AM
  • LocationCALIFORNIA

Posted 20 May 2020 - 11:17 PM

That looks like it's for the old Roku BIF plugin before it was moved into the server core

 

@Luke Update?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156698 posts
  • Local time: 02:36 PM

Posted 21 May 2020 - 02:10 PM

There are some static methods on Video, Video.GetThumbnailSetInfos. The api is not super friendly because I wasn't planning for this type of usage, but it can always be adjusted.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users