PDA

View Full Version : Guide2j Enhancements



jorm
2005-08-05, 08:31 PM
I am making some changes to guide 2j.

So far I have done
added AM/PM
I added a indicator if the show is a rerun or not.

Now I am looking into highlighting of shows based on types.

there are two indicators I can key off of.

One is called show type
values are like movie, series, special, paid programming, short film ....

the other is a much larger list called genere.
everything from
sitcom, comedy, darts, parenting, action, adventure (probably 70+)

what would users like me to key off of?

Also if you have any suggestions or problems with guide2j that have not been addressed here is your chance.

The genere and rerun info is only for zap users. It will still work for other users without those features.

jorm
2005-08-05, 08:43 PM
If I only show the closest match this is the subset

Action
Adventure
Animals
Animated
Anime
Anthology
Art
Arts/crafts
Auto
Auto racing
Biography
Bus./financial
Children
Children-music
Children-special
Collectibles
Comedy
Comedy-drama
Community
Cooking
Crime
Crime drama
Docudrama
Documentary
Drama
Educational
Entertainment
Environment
Exercise
Fantasy
Fashion
Fundraiser
Game show
Health
Historical drama
History
Holiday
Home improvement
Horror
House/garden
How-to
Interview
Medical
Motorcycle
Music
Music special
Musical
Musical comedy
Mystery
Nature
News
Newsmagazine
Outdoors
Paranormal
Performing arts
Politics
Public affairs
Reality
Religious
Romance
Romance-comedy
Science
Science fiction
Self improvement
Shopping
Sitcom
Soap
Spanish
Special
Sports event
Sports non-event
Sports talk
Standup
Suspense
Talk
Travel
Variety
War
Weather
Western

reven
2005-08-06, 12:42 AM
errr where would porno fit in? ;)

garetmax
2005-08-06, 09:02 AM
How about for Guide2J:

- An easy way to put in channel icons. I can't seem to figure out how to or where to put the icons or get the icon programs on the wiki to work.

- 4 characters for channel designations. It looks like 4 are available but the last one gets cut off 99% of the time.

- Do something like Video Archiver which has a nice way of showing what the 4 colored buttons on the remote do.

- When looking at a show that is scheduled to record, have some sort of flag/character to show this scheduled recording was the highest priority and it overrode a conflict. Then it would be nice to see a list of other shows that were not scheduled, (maybe a conflict button), and then have the ability to immediately select the other show if desired. Maybe this functionality could all be in Xrecord or both plugins.

jrockintuitive
2005-08-06, 02:27 PM
Jorm, i would like to thank you for picking up the ball.

My life took a major turn a few months ago and i keep lying to myself that I can get back to my hobby.

Thank you Jorm

Here was my to-do list
1. Making it more skinnable (if needed)
2. Watch button (need subs help)
3. Have a better indicator if to show that the entire program is not rendered to screen. I have the << and >> maybe use something graphic
4. Integrate with zap
a. Color codes per genre
b. New epidsodes
c. Being able to bring up cast information

jorm
2005-08-08, 06:52 PM
> If I try to manually enter a show to record that will conflict with a show the CDK scheduled I get a crash. In this example I select "Saturday Night Live" and schedule it. When I hit the schedule button I crash and GB-PVR actually locks up. There are no errors in gbpvr.exe.log though. Refer to the attached screenshots.

try removing gbpvrbackground something .dll in the plugin directory. Eventually I will write an installer and delete it for the users upon install.

jorm
2005-08-08, 06:55 PM
I added the following so far will post in a few days

> cleaned up status logic so it does not cache it so we can get updates

> Do something like Video Archiver which has a nice way of showing what the 4 colored buttons on the remote do.
This should be able to be done via skinning. I know tipstir has done it for his xrecord skin. If he needs skinning hooks I will help him.

> Integrated with zap
> Color codes per genre (I need someone to take the list and come up with colors any volunteers) if not I will provide a list of generes and a hook.
> New episode indicator


Jrock,
No problem. Hopefully you are just busy not a bad turn.

smeghead
2005-08-08, 09:54 PM
Is the latest version the one on the old wiki?

jorm
2005-08-08, 10:00 PM
that is the latest that jrock posted. I have not posted my modified one yet. I will do so later today or tomorrow.

smeghead
2005-08-08, 10:13 PM
Thanks for the quick reply jorm.

I started using it a number of months ago but had lots of problems. Do I have to use CDKScheduler with it or not. I'd prefer not as I like to know what's going on, I tend not to like things that I consider too helpful if you know what I mean - like some of the microsoft utilities for example......

Anyway it kept crashing whenever I tried scheduling anything. "Object reference not set to an instance of an object" and put back to the main menu. Nothing works then and I have to quit the program and restart it. Also no errors show up in the logs.

jorm
2005-08-08, 10:45 PM
I have had problems with it too. I just posted a more stable version on the new wiki.

I fixed a lot of object reference not found. There were problems where you delete a recording and it would not clear from guide2j but would be removed from the pending list. And I found that if the gbpvrbackend .dll (something like that) is in the plugin directory gbpvr does not let you schedule. So I wrote an installer that will delete it since it does not belong there.

You do not need to use the CDK scheduler it will be setup for you but you dont need to use it.

If you have tried the guide2j in the past and stopped using it please try it again, and if you have any errors send me the log and I will get it working.

smeghead
2005-08-08, 10:50 PM
Thanks again jorm, i'll give the new version a go now and report back

jrockintuitive
2005-08-08, 10:51 PM
I'm in good health... I'm a small business owner and my company won a huge contract.

Thanks again for picking this up.

smeghead
2005-08-08, 11:25 PM
jrock - Best wishes for the business. Do you have a web site for it?

given the new version a quick go and it seems more stable. A couple of quick comments although I will keep testing:
1. I used the plugin, set up a recording, quick back to main ment using esc on the kbd. I then went back in to guide2j and:
a. Cursor left/right skipped 2 hours at a time
b. Cursor up/down put me back to the main menu with a "object ref........"
This time I was able to enter the plugin straight away and it did the same again.
When I went back in a Nth time (cant remember) I pressed ctrl-Y altered a setting, came back to the guide and all was normal again.

2. When I move the cursor around the screen it isn't going to the shows I think it should be. Sometimes the cursor is on a show, I move the cursor down and the "green highlight" goes away. It has actually gone off the left of the screen as when I cursor right a few time it comes back. If I cursor down again instead of doing the cursor rights sometimes it appears on a show 2 channels down if you see what I mean. Difficult to explain.

I'm recording a "Wife Acceptance Factor" show and I don't want to upset it so i'll leave it alone for a while now.

Cheers

jorm
2005-08-08, 11:55 PM
I will take a look at them tomorrow.

Good luck jrock

jorm
2005-08-09, 12:27 AM
if you see the object ref ... again can you post the log I will try to repro it

jrockintuitive
2005-08-09, 02:36 PM
www.globalsubmit.org

You can see a press release at:
http://biz.yahoo.com/prnews/050801/phm052.html?.v=7

Thanks for your support

jorm
2005-08-09, 02:38 PM
smeghead,

I am having problems repro it. Are you using the blue skin? If not did you copy the blue skin guide2j directory to your skin folder?

smeghead
2005-08-09, 09:49 PM
smeghead,

I am having problems repro it. Are you using the blue skin? If not did you copy the blue skin guide2j directory to your skin folder?

I'm using the default blue skin. I am also having problems reproducing this now. The one in a 100 time it does it but nothing in the logs. I'm not certain what exactly the key presses are that causes it so i'll keep investigating.

I have another one for you though. I set up some personal guides - you know what I mean, one that lists just the kids shows for example. When I set the guide to kids there are no shows listed at all. If I press any key to navigate, coloured buttons etc I get thrown back to the main menu with an "Object not set...."

Any ideas?

smeghead
2005-08-09, 09:51 PM
smeghead,

I am having problems repro it. Are you using the blue skin? If not did you copy the blue skin guide2j directory to your skin folder?

I'm using the default blue skin. I am also having problems reproducing this now. The one in a 100 time it does it but nothing in the logs. I'm not certain what exactly the key presses are that causes it so i'll keep investigating.

I have another one for you though. I set up some personal guides - you know what I mean, one that lists just the kids shows for example. When I set the guide to kids there are no shows listed at all. If I press any key to navigate I get thrown back to the main menu with an "Object not set...."
Oh just noticed that the time and date that are displayed are in the past, like 4 hours ago.

Any ideas?

EDIT:
After doing ctrl-Y and selecting other filters with no more luck I removed all filters and its still the same. I am able to scroll left and right now but no shows or channel ids are listed. The bar at the top has the red markings to identify when shows will be recorded. If I try the up / down keys I get the "Object not set...." error

Richard
2005-08-09, 10:24 PM
Hi Jorm

This is great that you are updating Guide2J. Could you set it so we can use the wheel mouse to scroll the guide?

Spartan
2005-08-09, 10:25 PM
I too am exicited that work has picked up on this again.

Here is what probably amounts to a dumb question, but how do I activate genre color coding?

Richard
2005-08-09, 10:35 PM
Hello Spartan

The current version does not support the genre color..Jorm plans on including this in the next version.

Edit:
Actually it appears that Jorm has released that release yesterday in a separate thread which you can find it here: http://forums.gbpvr.com/showthread.php?t=7747 According to the thread, you can edit the colors in the skin.

jorm
2005-08-09, 11:10 PM
smeghead.
I will do a release tomorrow with the filter fix. Thanks for pointing it out.

I will try to play with the mouse wheel.

Spartan,
open up skin-schedule.xml

Here are two examples. If you want to color code the generes the list of generes is on wiki send it back to me and I will include it in the following release.
<NamedColor name="GenereBrush_Science" color="Yellow"/>
<NamedColor name="GenereBrush_Sciencefiction" color="Yellow"/>

garetmax
2005-08-10, 12:24 AM
Yeehaa, all fixed up for me now; - no more objects not set..., no more lockups, and no more not being able to schedule shows conflicting with CDK shows.


Thanks Jorm for fixing Guide2J along with Xrecord, fast find, and CDK.

jorm
2005-08-10, 02:01 AM
I am glad to hear it is working. If you want anything added just let me know. :)

I figure I will get it really stable and if people have ideas for it I will add them.

Enjoy.

Spartan
2005-08-10, 04:21 PM
Awesome -- I hope to give it a go later on today.

jorm
2005-08-10, 04:56 PM
*2005-08-10: v.5 (jorm)
**Fixed bug when switching guide
**Code is in for mouse wheel (dont have a mouse wheel on my development machine)

Richard
2005-08-10, 09:25 PM
Hello Jorm,

Thank you for the mouse wheel programming. It works great.

When I run the installer, it overwrites the guides.xml file. Could you set it up that if the file exists it will not be overwritten?

jorm
2005-08-10, 09:30 PM
thanks for pointing that out. I will fix the installer with that logic.

Richard
2005-08-11, 03:16 PM
When I tried to setup a program in Guide2J using the advance button with recording Type set to All, then clicking on more and change the pre and post padding to 0 leaving duplicates as false, I receive the following error:

Error: Collection was modified; enumeration operation may not execute

It then kicked me out to the main menu without setting up the program.

When I went back into Guide2J the setup window for the program was there.

The show does not show up in color in Guide2J, but it does show up in XRecord's Scheduler.

jorm
2005-08-11, 03:25 PM
I am not able to repro it. Do you have the gbpvr.exe.log? When you use advanced it gets added to the priorityrecordings.xml but not the scheduled database until epg update. In xrecord you can hit stop and run cdk at any time and it will get added.

jorm
2005-08-11, 06:36 PM
Very very minor update.

20050811 v5.1
Fixed installer bug that did not install the zapimport.exe and zapdb.mdb
Included the latest cdk scheduler (with suspend and resume).

Richard
2005-08-11, 10:09 PM
Hello Jorm,

I have replicated the error and can email you the log file. What email address would you like me to email the file to?

I have run the postupdateepg.bat file and it still does not update the program in Guide2J.

jorm
2005-08-11, 10:13 PM
jared_dubin at hotmail.com

can you send me your priority recordings.xml

Richard
2005-08-11, 10:21 PM
Thank you, I have emailed the two files to you.

jorm
2005-08-11, 11:03 PM
I might not be able to check them out till saturday. I am going out of town.

reven
2005-08-15, 01:38 AM
hey jorm could you add support for genre tagging from xmltv sources? just re read in the xmltv file gbpvr uses and if the genre info is supplied add it. also could you use the show icon in the display (im not sure if zap2it supplies a show icon, but xmltv can, and my source does).

jorm
2005-08-15, 03:29 PM
I wonder if it would be best to write an xmlimporter (instead of the zapimporter) to populate the database with the common fields? Are you interested? The source is posted on wiki. That way I dont have to conditionalize all of the logic to say if xmltv do this if zap2it do this. And others can write their own hooks.

reven
2005-08-16, 02:19 AM
yeah i would do this, just have to make sure that not all information is needed, like i cant guarantee on the genre information for every channel (i can for about 70% of shows) etc. the information i can get thru xmltv (once again for about 70% of shows)
genres (multiple)
rating (eg R18)
aspectratio
director
actors
movie or show

jorm
2005-08-16, 11:41 AM
we can make sure the logic works when only some channels have data