new event: category set field

Got an idea, post it here

new event: category set field

Postby gamejester on Sun Nov 21, 2004 8:55 pm

Can I have 2 new events please:

Category:offline
Category:online

This will then set the currently selected category item to either offline or online status.

The reason I need this is that I am using the offline / online overlays on my TV shows page to display an icon against shows I have watched or are new. By setting an event when I click and watch a show, the status of the item will change to offline and hence the over lay graphic, so that it is clear which shows have been watched. I am currently doing this via calls to vbscripts and editing the xml, but that requires a category refresh which looses your current search/display location.

I also need this in order to set the status of an offline show to online when it is selected to play, otherwise it does not play (obviously as xlobby thinks it is offline). I have tried to get round this by setting an offline event to execute file on zoomplayer and pass it %playlist%, but the event ‘execute file’ will not pass variables.

This statement is untrue, I was using it wrong, I was trying to pass %parameter% but Steven has informed me I need to pass %movies>parameter%
Last edited by gamejester on Wed Nov 24, 2004 4:25 pm, edited 2 times in total.
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby gamejester on Wed Nov 24, 2004 4:17 pm

I guess this could even be more generic, to make it even more useful.

If you had a 'set' command for a category you could use it to set a new value for any currently selected database record on the fly.

Example:
Event - Category:set

Field = %movies>parameter%
Value = C:\data\movies\kill bill\kill_bill.avi

Field = %series>online%
Value = TRUE

Field = %series>online%
Value = FALSE

Field = %movies>name%
Value = Kill Bill

This can then be hooked up in a skin with an keyboard input overlay screen and you can give users the ability to rename display items, change cover art, mark files as on or offline, without leaving xlobby
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby gamejester on Thu Nov 25, 2004 5:47 pm

Here is a screen shot showing the use of offline / online overlays to indicate if a show is new or already viewed.

Image
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby dgemily on Wed Dec 01, 2004 2:50 pm

One vote more for this request :wink:
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby C-moi on Wed Dec 01, 2004 6:58 pm

+1 !
please
C-moi
 
Posts: 164
Joined: Fri Apr 23, 2004 6:58 am
Location: France

Postby edgley on Wed Dec 01, 2004 10:43 pm

and me
edgley
 
Posts: 240
Joined: Wed Apr 21, 2004 4:44 pm
Location: london

Postby edgley on Wed Dec 01, 2004 10:43 pm

count me in too please.
edgley
 
Posts: 240
Joined: Wed Apr 21, 2004 4:44 pm
Location: london

Postby stevenhanna6 on Thu Dec 02, 2004 7:54 am

entierly possible, I have to figure out a way to let you guys input misc values though. A simple thing like changing something to true/false is easy.

I could even set it so if you use "online" it would just toggle from one button instead of having 2 if you dont specify the value.
stevenhanna6
 
Posts: 904
Joined: Tue Feb 18, 2003 10:39 am
Location: Ontario, Canada

Postby stevenhanna6 on Fri Dec 03, 2004 6:02 am

Ok new stuff added from chat room discussions this afternoon(I recommend people hang out there if they want something right away). We can now change any variable from within the skin. Use the new "category->variable set" to do this.

As far as changing offline/online stuff,you will use it like this probably.....movies, offline, true AND you would need another event: movies, offline, false. You get the idea having 2 events to change the value for offline.

Special case variables,

parameter
offline
coverart
display

http://www.xlobby.com/xlobby2.zip

I still dont know if I will let you guys edit the db fields from within xlobby itself....this new way we are editing the db through hardcoded events.
stevenhanna6
 
Posts: 904
Joined: Tue Feb 18, 2003 10:39 am
Location: Ontario, Canada

Postby gamejester on Fri Dec 03, 2004 8:37 am

Cool, can't wait to try it, gutted that I have to go to work now.
Still should be able to fit it in before I go out tonight, my skin is already set up for it.

All we need now is to be able to filter on online
http://www.xlobby.com/forum/viewtopic.php?t=2435

We can then quickly see all the new series added, or favourite radio stations, or even movies that are online :wink:
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby Colby on Sat Dec 04, 2004 4:17 pm

steve one last thing about variable set event
could we have the a special case value called %category>input% then we could have onscreen keyboard to title anything. Thanks


All we need now is to be able to filter on online

you can do that cant you? filter true or filter false
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby gamejester on Sun Dec 05, 2004 2:54 pm

I would also like the input via on screen keyboard for user defined renaming - that would be very cool.

Colby - you cannot currently use the offline param in a filter, it does not work, that is why we need Steven to add it. Also, it would be cool to filter the reduced list, as described in the post.
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby Colby on Sun Dec 05, 2004 4:09 pm

I assumed you could do an offline/online filter with a category>custom search event
you would just search for true or false

Category:movies
Field:offline
value: true

or you could even make your category name filterdetails and associate it with a db via set db event

Maybe Im wrong.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby gamejester on Sun Dec 05, 2004 9:31 pm

Unfortunately not, I have already tried this, but thanks for the suggestion; I guess there must be some inner workings of Xlobby that treats the offline field differently from the rest, maybe the stored value is Boolean instead of a string and current search filter does not accommodate this.
gamejester
 
Posts: 131
Joined: Mon Jun 21, 2004 9:20 am

Postby Mark Ward on Sun Feb 13, 2005 9:45 am

Off-Topic @ Gamejester:-

As a TiVo fan I think that "XiVo" skin you use looks fabulous. Is is readily available or something you've created.

On Topic

I'd also like to be able to mark movies as offline, specifically with a little flag image in say the bottom right corner. I was wondering whether a couple of "custom definable" property/attribute flags could be added by default when adding extra movies?

I personally would like to add a "Watched" flag and be able to sort the movies I've yet to view.

I'm fairly new to XLobby but from what I've read I should be able to create buttons/screen to allow me to toggle between "ALL" & "Unwatched", however having to manually create the nexessary custom properties for each and ensuring you have worded them exactly the same (necessary for filter configuration) is very difficult.

Mark.
Mark Ward
 
Posts: 1
Joined: Sun Nov 28, 2004 12:16 pm
Location: Kent, UK

Next