How to Tell the Difference Between a Placeholder Item and an Item Without Shapes? by Petter February 15, 2016 Tips & Tricks
It's not obvious how to tell the difference between a placeholder item and an item without shapes in Vidispine. You can solve this by querying the API and asking for the transient metadata Vidispine provides. Read this blog post to understand how you use it.
It is possible to end up with an item containing no shapes, for example by deleting shapes on a previously populated item. It's not immediately obvious whether such an item is empty, or if it is actually a placeholder item. In both cases /item/{id}/shape returns an empty list. So how can you tell the difference?
The answer lies in what's called transient metadata. This is metadata that is not persisted in the database but is instead calculated on the fly when it is requested. It contains, among other things, information about shapes. The metadata field we are interested in in this case is called __placeholder_shape_size.
Let's say we have an item VX-7659, and /item/VX-7659/shape returns an empty list. To determine whether it is a placeholder item or just an item with all of its shapes deleted, we can make the following request:
GET /item/VX-7659?content=metadata&field=__placeholder_shape_size
It returns the following document:
VX-1546589,VX-1546604,VX-1546594 __placeholder_shape_size 0 1
2
3
4
5
6
7
8
9
10
11
VX-1546589,VX-1546604,VX-1546594
__placeholder_shape_size
0
Here we can see that the item actually contains zero placeholder shapes, so this is an empty item! If it was a placeholder item, it would return a non-zero value.
For more information about transient metadata, and what other fields are available, have a look at our documentation .
Most recent headlines
04/08/2024
Dalet, a leading technology and service provider for media-rich organizations, is excited to announce Santiago Solanas as its new Chief Executive Officer (CEO)....
03/06/2024
Dalet, a leading technology and service provider for media-rich organizations, a...
17/05/2024
NEW YORK As declines in linear TV viewing make the ongoing popularity of live sports, particularly football, central to financial success of the TV industry, th...
17/05/2024
During Netflixs second Upfront presentation to advertisers, Amy Reinhard, Netflix's president of advertising, walked advertisers through the continued growt...
17/05/2024
CINCINNATI The E.W. Scripps Company has added to its leadership team for news by promoting Jeff Kiernan a veteran journalist and general manager of Scripps'...
17/05/2024
Top executives from Disney, Fox and Warner Bros. Discovery have consistently insisted that their joint venture to launch the Venu Sports streaming bundle in the...
17/05/2024
ESPN has announced that its coverage of Caitlin Clark's WNBA debut in the Indiana Fever versus the Connecticut Sun season opener was the most-watched WNBA g...
17/05/2024
ATEM Mini Extreme ISO switcher and Blackmagic Pocket Cinema Camera 4K
Brie Clayton May 16, 2024
0 Comments
Blackmagic Design announced today that Yoic...
17/05/2024
Pixomondo's Virtual Production Academy Expands with Programs at Sony PCL, Vo...
17/05/2024
The Warner Bros. Discovery upfront presentation took place Wednesday, May 15 at ...
17/05/2024
Season 25 of The Voice wraps on NBC Tuesday, May 21, with performances from The Black Keys, Jelly Roll, Kate Hudson, Lainey Wilson, Muni Long, Thomas Rhett and ...
17/05/2024
New CNN CEO Mark Thompson spelled out his plan for the struggling news network d...
17/05/2024
Netflix, a newcomer to the advertising business, said it plans to launch an in-house advertising technology platform....
17/05/2024
Netflix shared some programming projects at an upfront presentation in New York. Those include the basketball-themed comedy series Running Point, a Mindy Kaling...
17/05/2024
Plex is offering movie and music collectors a 20% discount off its Lifetime Plex Pass as part of its Geek Week sale....
17/05/2024
Giant media buyer GroupM said it named Toby Jenner as global president, Group M Clients, a new position at the company....
17/05/2024
Smaller advertisers are increasingly buying connected TV programmatically, according to a new report from FreeWheel, Comcast's ad-tech unit....
17/05/2024
TCLtvPlus, the streaming app on smart TVs made by TCL, has added live linear channel from music-video programmer Vevo....
17/05/2024
StackAdapt said it made a deal to integrate data from Samba TV into its programmatic advertising platform....
17/05/2024
Scripps Research chemist Donna Blackmond elected to the Royal Society of the U.K. Blackmond's wide-ranging work has shaped origin of life theories, our unde...
16/05/2024
PARK CITY, UTAH - JANUARY 18: Director Yance Ford introduces the Power premiere at Library Center Theatre. (Photo by Chad Salvador/Shutterstock for Sundance F...
16/05/2024
May is Mental Health Awareness month, a time to recognize those living with ment...
16/05/2024
ABC and SBS bring digital radio (DAB ) services to the Gold Coast
15 May, 2024
Media releases
ABC and SBS today announced that audiences on the Gold Coast ...
16/05/2024
eds3_5_jq(document).ready(function($) { $(#eds_sliderM519).chameleonSlider_2_1({...
16/05/2024
Share this article
width=32 height=32 data-lazy-src=https://apogeedigital.com/app/themes/juniper-theme/src/img/icons/facebook-purple.svg />
width=32 height=...
16/05/2024
In a major example of how large streaming services are successfully battling for lucrative sports rights, Netflix has announced that it has secured global right...
16/05/2024
LOS ANGELES & NEW YORK More than three months after announcing plans to launch a major new sports streaming service, ESPN, Fox Corp. and Warner Bros. Discovery,...
16/05/2024
In a survey conducted late last year, marketing companies said their main focus for increasing advertising would be CTV/streaming. Generative AI, which was not ...
16/05/2024
Three public radio and one public television outlet are the latest recipients of funding from the Corporation for Public Broadcasting to upgrade their emergency...
16/05/2024
John Mailhot, senior vice president, product management at Imagine Communications, gives an insight into how HDR is impacting live production today, as well as ...
16/05/2024
Sony Pictures Post Production Services Completes Expansion of its Sound Faciliti...
16/05/2024
TV Tech recently sat down with Telestream CEO Rhonda Bassett-Spiers and CTO Simon Clark to discuss how the M&E industry is adapting the cloud, IP and AI to enha...
16/05/2024
1185 Talent will include directors, editors, colourists, VFX artists and photographers
By Jenny Priestley
Published: May 16, 2024
1185 Talent will include...
16/05/2024
The administrators said they are focused on trading the business as a going concern while they assess options, including exploring the possibility of a sale
By...
16/05/2024
Selipsky will leave the company on 3rd June, and will be succeeded by Matt Garman, a senior vice president who has overseen sales and marketing at AWS
By Jenny...
16/05/2024
Sony Pictures Post Production Services has announced that the final phase of a multi-year effort to expand and modernize its motion picture and television sound...
16/05/2024
President Joe Biden and Former President Donald Trump have agreed to participate in two televised debates, the first of which will be hosted by CNN on June 17....
16/05/2024
BURBANK, Calif. and NEW YORK Disney+, IMAX Corporation, and DTS, a wholly-owned subsidiary of Xperi, have announced that Queen Rock Montreal is now streaming ...
16/05/2024
NEW YORK During its upfronts presentation, Warner Bros. Discovery announced a suite of new advanced ad products available on Max, that include shoppable ads, ad...
16/05/2024
iZotope announces RX 11 audio software, introducing new machine learning for tac...
16/05/2024
Check Out the Cine Gear Expo June 7 9, 2024 at Warner Bros. Studios in Burbank...
16/05/2024
Nouvel Photo & Film Captures Cinematic Wedding Films with Blackmagic Cinema Came...
16/05/2024
Replacing Surfaces Like a Pro with Mocha AE Planar Tracking
Levi Borland May 15, 2024
0 Comments
Welcome to our comprehensive tutorial on planar track...
16/05/2024
The world of baseball at Capitol Broadcasting is about to expand like fireworks on a Friday night. The Holly Springs Salamanders will open their season at home...
16/05/2024
Blockgraph said that its identity and data collaboration platform has been adopted by tvbeat, a provider of campaign planning technology for media companies....
16/05/2024
Tonight on Scandal: A terrifying story pushes Dintle into making a life-altering...
16/05/2024
16 May 2024
VEON 1Q24 Trading Update: Accelerating USD Growth, Strong Operational Execution Amsterdam, 16 May 2024 07:00AM CEST -
VEON Q1 2024 Highlights
Q1...
16/05/2024
May 16th, 2024 Press Materials Available Here
TRIBECA X ANNOUNCES 2024 SPEAKER...
16/05/2024
SVG Sit-Down: Beam Dynamics CEO Kaszycki on Maximizing Physical-Asset Usage, Tra...
16/05/2024
SVG New Sponsor Spotlight: Aggreko's Don Gray on Advocating for Sustainabili...