PDA

View Full Version : Showcase insertion



jelwell
05-18-2006, 04:20 PM
Has there been any effort to create showcase entries? I use TiVoWeb to generate some listings of shows regularly - and I just realized that it would be a lot easier for me (as a user) to generate that list of shows then insert it as a Showcase item.

Any code or specification of the Showcase would be helpful.
Thanks,
Joseph Elwell.

John1980
05-24-2006, 07:23 AM
Any code or specification of the Showcase would be helpful.

Ljay's Showcase Module (http://www.ljay.org.uk/tivoweb/tivoweb.html#showcase) may be a good starting point. Doesn't do insertion, but may provide a little information on what needs to be done. It's also fairly easy (if you have access to a TiVo with showcases) to browse the MFS using the MFS module and work out from there the required entries to insert an entry.

The following (v2.5.5) schema's may be of use (although it is easier to reverse engineer using existing entries via the MFS module):


######################################################################
#
# File: Showcase.schema
# Schema Group: Packages and Showcases
#
# A showcase is a set of packages and/or programs, used to
# highlight the programming on a network.
#
######################################################################
Name|string||single||base
# An small image shown next to the showcase's name
Icon|object|Image|optional||base
# An image to put across the top of the screen when this
# showcase is displayed.
Banner|object|Image|optional||base
# The things in this showcase. These may be any combination
# of Packages or Showings.
Item|object|ShowcaseItem|multi|dependency|base
# Interstitial type
InterstitialType|enum|Interstitial|optional||base
# Interstitial port number
InterstitialId|int||optional||base
#
# The date/time when the recorded video can be deleted.
#
ExpirationDate|int|date|optional||base
# XXX_tjd ExpirationTime is not currently used
ExpirationTime|int|time|optional||base
# A flag indicating the TiVolution Showcase
# -- Note that it's conceivable to embed other boolean flags in this
# field as well
# if non-existant, treated as no-tivolution showcase. positive values
# indicate tivolution.
TiVolution|int||optional||base
#
# A sequence number to specify ordering relative to other showcases.
# The lower the sequence number, the higher the showcase is placed
# on the Network Showcases list, i.e "1" comes above "2". Showcases
# with identical sequence numbers are added in arbitrary order.
# Unspecified sequence numbers are always put at the end of the list.
# It might be a good idea in practice to space sequence numbers
# by 100 (i.e. "100" for the top, "200" for next) to make it
# easy to squeeze stuff in between. This is by no means enforced.
#
SequenceNumber|int||optional||base
# Number of lines to use for the showcase item info balloon
InfoBalloon|int||optional||base




######################################################################
#
# File: ShowcaseItem.schema
# Schema Group: Packages and Showcases
#
# The items that can be a part of a showcase. Currently limited to
# a Package or a Program, plus an icon image that is displayed.
# Only one of Package or Program should contain something.
#
######################################################################
# The name to use for this item in the showcase
# If left out, the name of the package or title of the program
# will be returned by the ShowcaseItem class
Name|string||optional||base
# A small image shown next to the showcase's name
Icon|object|Image|optional||base
# Package object, iff this item is a Package
Package|object|Package|optional|dependency|base
# Program object, iff this item is a Program
Program|object|Program|optional|dependency|base
#
# The date/time when the recorded video can be deleted.
#
ExpirationDate|int|date|optional||base
# XXX_tjd ExpirationTime is not currently used
ExpirationTime|int|time|optional||base
# Network affiliation for Program
Affiliation|string||optional||base
# The image to use in the info area for Showcase Items
Mugshot|object|Image|optional||base
# A text description to use in the info area for Showcase Items
Description|string||optional||base
#
# The date(s) when the ShowcaseItem's object element(s)
# (Program or PackageItems) expire.
#
SubItemExpirationDate|int|date|multi||derived

n4zmz
05-29-2006, 01:40 PM
There is software to generate showcases. It is currently very heavily tied into the ddparser application. It does not work with a normal subscribed tivo.

The format of a showcase is not complicated.

Here is an example with a lot of the extra stuff trimmed.

Guide type=3

Image/1/6733521/1 {
File: File of size 1/29976
Format: 2
Name: {SC_sc20020715_hbo_banner}
}


Series/1/3272198/3 {
Episodic: 1
Genre: 101
Genre: 103
Genre: 106
Genre: 1003
Genre: 1009
Genre: 1010
Title: {On the Record With Bob Costas}
TmsId: {SH415599}
}

Program/1/12295709/7 {
ColorCode: 4
DescLanguage: {English}
Description: {Celebration of the 1988 film "Bull Durham" with actors Susan Sarandon, Tim Robbins, Robert Wuhl, and writer/director Ron Shelton; actor John Cusack.}
EpisodeNum: 25
Genre: 103
Genre: 106
Genre: 1003
Genre: 1009
Genre: 1010
IsEpisode: 1
OriginalAirDate: 12174
Series: Series/1/3272198
ShowType: 5
SourceType: 3
Title: {On the Record With Bob Costas}
TmsId: {EP4155990026}
}



Package/1/454595/879 {
Banner: Image/1/3367711
InfoBalloon: 3
Item: PackageItem/11
Item: PackageItem/12
Item: PackageItem/13
Item: PackageItem/14
Item: PackageItem/15
Name: {HBO Sports}
UniqueId: {SC_hbo|HBO%20Sports}
Subrecord PackageItem/11 {
Affiliation: {HBO}
Description: {Actor John Cusack. (HBO)}
ExpirationDate: 12183
ExpirationTime: 43199
Program: Program/1/12295709
}
Subrecord PackageItem/12 {
Affiliation: {HBO}
Description: {The three ring wars between Evander Holyfield and Riddick Bowe. (HBO)}
ExpirationDate: 12183
ExpirationTime: 43199
Program: Program/1/12157045
}
Subrecord PackageItem/13 {
Affiliation: {HBO}
Description: {45-year old George Foreman takes on champion Michael Moorer. (HBO)}
ExpirationDate: 12183
ExpirationTime: 43199
Program: Program/1/12257548
}
Subrecord PackageItem/14 {
Affiliation: {HBO}
Description: {The heavyweight fight between Riddick Bowe and Andrew Golota almost causes a riot. (HBO)}
ExpirationDate: 12183
ExpirationTime: 43199
Program: Program/1/12398334
}
Subrecord PackageItem/15 {
Affiliation: {HBO}
Description: {Gold-medal basketball game between the U.S. and U.S.S.R. in 1972 Munich. (HBO)}
ExpirationDate: 12183
ExpirationTime: 43199
Program: Program/1/6038053
}
}

Showcase/1/501187/1071 {
Banner: Image/1/6733521
BigBanner: Image/1/6733521
DataSetName: {SC_hbo}
ExpirationDate: 12183
ExpirationTime: 43199
Icon: Image/1/3367701
Item: ShowcaseItem/11
Item: ShowcaseItem/12
Item: ShowcaseItem/13
Item: ShowcaseItem/14
Item: ShowcaseItem/15
Item: ShowcaseItem/16
Name: {Home Box Office}
SequenceNumber: 45
Subrecord ShowcaseItem/11 {
Affiliation: {HBO}
Description: {Spirit: Stallion of the Cimarron, The Mothman Prophecies, Scooby-Doo, Queen of the Damned, Ocean's Eleven, Good Advice, Two Can Play That Game, Joy Ride, Pootie Tang, Shrek, The Mexican}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Blockbusters}
Package: Package/1/480142
}
Subrecord ShowcaseItem/12 {
Affiliation: {HBO}
Description: {The Gathering Storm, 61, For Love or Country: The Arturo Sandoval Story, If These Walls Could Talk 2, Tease, A Lesson Before Dying, The Devil's Child, The Cherokee Kid, Circumstances Unknown}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Originals}
Package: Package/1/466108
}
Subrecord ShowcaseItem/13 {
Affiliation: {HBO}
Description: {LifeStories: Families in Crisis, Tracey Takes On ..., Arli$$, Chris Rock Show, Reverb, Sex and the City, The Sopranos, On the Record With Bob Costas, Six Feet Under, The Wire, Da Ali G Show}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Series}
Package: Package/1/480143
}
Subrecord ShowcaseItem/14 {
Affiliation: {HBO}
Description: {Soldiers in the Army of God, The Making Of: The Mexican, The Making Of: Scooby-Doo, Legendary Nights, The Making Of: The Mothman Prophecies, Downloading Sex: Nerve.com, Legendary Nights}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Documentaries}
Package: Package/1/480144
}
Subrecord ShowcaseItem/15 {
Affiliation: {HBO}
Description: {Mr. Show With Bob and David, Tracey Takes On ..., Chris Rock Show, Sex and the City, Six Feet Under, Real Time With Bill Maher, Da Ali G Show}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Comedy}
Package: Package/1/454590
}
Subrecord ShowcaseItem/16 {
Affiliation: {HBO}
Description: {On the Record With Bob Costas, Legendary Nights, Legendary Nights, Legendary Nights, :03 From Gold}
ExpirationDate: 12183
ExpirationTime: 43199
Name: {HBO Sports}
Package: Package/1/454595
}
}

DataSet/1/5051623/171 {
Data: Showcase/1/501187
Date: 12165
ExpirationPolicy: 1
GcZapPolicy: 3
Name: {SC_hbo}
}

jelwell
06-13-2006, 08:54 PM
Thanks for the help, I haven't decided to tackle this yet because I've been lazy and the web interface suffices - for now. Here's why I was curious though:

http://www.dealdatabase.com/forum/showthread.php?t=49876

The tivowebplus module (code available on the website) searches for things that my TiVo isn't capable of. It would be nice if I could run that weekly and insert the results into a Showcase - rather than having to run it manually via the web.
Joseph Elwell.