Display when a movie is off-line

Help each other out

Display when a movie is off-line

Postby r.byatt on Fri Jan 26, 2007 1:57 am

What I would like to do is displayed on the screen when a movie is "off line".

I can display the file name but it would be nice to just display either “On Line” or “Off Line”

I thought I might be able to have some text with a decision in it like :if the file name (Parameter) is not "video_ts.ifo then display "On Line" else "Off Line"

Could someone point me in the right direction?

Regards Robert
r.byatt
 
Posts: 13
Joined: Tue Mar 29, 2005 2:05 pm

Postby GrantG on Fri Jan 26, 2007 12:47 pm

Two ideas off the top of my head, but these may require a certain amount of work depending on how you currently use Xlobby:

1) Maybe use one of the scripting plugins? (I think it's called XScriptNG).

2) Or, if you maintain a movie database using Ant, you could use one field to say "online" or "offline" as appropriate. Then setup the XAnt plugin to save this entry to a variable of your choice, and display this variable on the screen somewhere.
GrantG
 
Posts: 16
Joined: Mon Jun 26, 2006 9:54 pm
Location: London

Postby slaman on Fri Jan 26, 2007 2:13 pm

Or just make two fields for each movie entry called "Online" and "Offline" and populate with the same text....

On your skin, have both fields in the same spot - if it's Offline, the text will show because the Online field will be blank, and vice versa.
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Postby r.byatt on Sat Jan 27, 2007 5:45 am

Thanks for the reply's

I'm thinking that the easiest way might be manipulating the xml database with a script every time I refresh it.

Add a field and populate it with Offline if the movie location (Parameter) is "video_ts.ifo.

Thanks again

Robert
r.byatt
 
Posts: 13
Joined: Tue Mar 29, 2005 2:05 pm