Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-03 Thread Justin Wetherell
This is in reply to the Tracker issue. Attached in the diff against todays SVN (revision 8922). Corrected the evil tab problems and implemented the only new episodes logic. Duplicate Detection can be enabled in the local_conf with: DUPLICATE_DETECTION = True New Episode Detection can be enabled

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-03 Thread Gorka Olaizola
On Mon, Jan 01, 2007 at 01:30:47PM +, Andrew Flegg wrote: > I've not created a tracker issue for it as I'm not sure what to do > about things like plugins (e.g. weather) which plot images at runtime > too. > I've played a bit with the 16:9 aspect ratio and, for example, the images in the image

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Stephan Kanthak
On Monday 01 January 2007 14:30, Andrew Flegg wrote: > On 1/1/07, Stephan Kanthak <[EMAIL PROTECTED]> wrote: > > I posted it already over a year ago, but I have a working setup for my > > 16:9 plasma TV (848x480), together with a 16:9 theme that I designed > > myself. It's running perfectly at home

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Andrew Flegg
On 1/1/07, Gorka Olaizola <[EMAIL PROTECTED]> wrote: > On Mon, Jan 01, 2007 at 01:30:47PM +, Andrew Flegg wrote: > > > >http://www.bleb.org/software/panorama-skin.tar.gz (1.3MB) > > > Very nice :-) > I've tried it in my new shiny anamorphic TV and it's very cool. No more > 4:3 aspect ratio

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Gorka Olaizola
On Mon, Jan 01, 2007 at 01:30:47PM +, Andrew Flegg wrote: > >http://www.bleb.org/software/panorama-skin.tar.gz (1.3MB) > Very nice :-) I've tried it in my new shiny anamorphic TV and it's very cool. No more 4:3 aspect ratio for me. Thank you very much. I'll try to convert the "bluestar"

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Justin Wetherell
This looks like a much better implementation, i'm going to merge our changes together. I've also added a flag to the local_conf file, so you can turn on and turn off the duplicate checking. I still need to fix the ability to add a favorite through the WWW and pretty up the currebt implementation.

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Andrew Flegg
On 1/1/07, Andrew Flegg <[EMAIL PROTECTED]> wrote: On 12/31/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: > I've redone my previous work using two sql statements instead of an > iteration; i've also implemented a removeDuplicate for use when a > scheduled recording is removed. Neat. I think, t

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2007-01-01 Thread Andrew Flegg
On 12/31/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: > I've redone my previous work using two sql statements instead of an > iteration; i've also implemented a removeDuplicate for use when a > scheduled recording is removed. Neat. I think, though, one SQL result set which is iterated over may

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Stephan Kanthak
Hi Andrew, Dischi & the rest, I posted it already over a year ago, but I have a working setup for my 16:9 plasma TV (848x480), together with a 16:9 theme that I designed myself. It's running perfectly at home for about 2 years now. Unfortunately, I don't remember all my changes as I also did a lot

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Justin Wetherell
Here is the traceback, after I try and add a new Favorite: *web.Server Traceback (most recent call last):* exceptions.AttributeError: 'unicode' object has no attribute 'values'

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Justin Wetherell
I'm kind of talking to myself (again); i've done some work on the duplicate detection and it seems to be working fine. You can add a new favorite via the OSD but I broke the ability to add from the WWW. If someone can take a look at it, it would be greatly appreciated, since I can't seem to figure

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Justin Wetherell
I've redone my previous work using two sql statements instead of an iteration; i've also implemented a removeDuplicate for use when a scheduled recording is removed. On 12/31/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: I was torn between doing this (sudo code): query=('SELECT * FROM tv WHE

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Justin Wetherell
I was torn between doing this (sudo code): query=('SELECT * FROM tv WHERE title = \'%s\'' % (prog.title)) results=db.runQuery(query) for row in results: if row['title'] == prog.title and row['sub_title'] == prog.sub_title: duplicateProgram=True if row['title'] == prog.title and row

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Andrew Flegg
On 12/30/06, Andrew Flegg <[EMAIL PROTECTED]> wrote: > On 12/30/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: > > On 12/30/06, Justin Wetherell < [EMAIL PROTECTED]> wrote: > > > I've done a quick hack for duplicate detection, if you want ro run > > > with the idea. > [snip] > So you've (partially

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-31 Thread Duncan Webb
Jason Tackaberry wrote: > On Sun, 2006-12-31 at 00:36 +0100, Duncan Webb wrote: >> Duplicates, are not that important, I tend to let them record in case >> the first one is corrupt, quite often happens with the PVR-350, loss of >> audio about twice a week. > > Ouch. Thankfully not here; but I don

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Andrew Flegg
On 12/30/06, Duncan Webb <[EMAIL PROTECTED]> wrote: > Andrew Flegg wrote: > > > Isn't that conflict, rather than multiple copies of the same programme > > being recorded, though? Both are pretty important. > > Oh talk about getting the wrong end of the stick, it's late and I've > been freevo'ing al

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Jason Tackaberry
On Sun, 2006-12-31 at 00:36 +0100, Duncan Webb wrote: > Duplicates, are not that important, I tend to let them record in case > the first one is corrupt, quite often happens with the PVR-350, loss of > audio about twice a week. Ouch. Thankfully not here; but I don't use the tuner. -

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Duncan Webb
Andrew Flegg wrote: > On 12/30/06, Duncan Webb <[EMAIL PROTECTED]> wrote: >> Justin Wetherell wrote: >>> Actually, try this patch instead. >> Have you ever done any game programming? The algorithm is the same as >> when a sprite is touching or over an object, except in this case >> everything is a

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Andrew Flegg
On 12/30/06, Duncan Webb <[EMAIL PROTECTED]> wrote: > Justin Wetherell wrote: > > Actually, try this patch instead. > > Have you ever done any game programming? The algorithm is the same as > when a sprite is touching or over an object, except in this case > everything is a line and there are only

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Duncan Webb
Justin Wetherell wrote: > Actually, try this patch instead. Have you ever done any game programming? The algorithm is the same as when a sprite is touching or over an object, except in this case everything is a line and there are only two points to check. All that is needed is a sorted list of pr

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Andrew Flegg
On 12/30/06, Duncan Webb <[EMAIL PROTECTED]> wrote: > Andrew Flegg wrote: > > > I've got a 16:9 CRT TV in the UK, connected over S-Video. X is running > > at 800x600 (with overscan). Since the TV stretches the image > > horizontally, this means non-square pixels. The current themes look > > rather

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Duncan Webb
Andrew Flegg wrote: > Hi, > > With the announcement of v1.7, I'm moving back to Freevo after a brief > try of MythTV when I got my DVB card. Mainly due to Myth's bloat, > speed (or lack of) and the abysmal quality of the audio output and UI > of MythMusic. > > However, there are a couple of thing

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Andrew Flegg
On 12/30/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: > On 12/30/06, Justin Wetherell < [EMAIL PROTECTED]> wrote: > > I've done a quick hack for duplicate detection, if you want ro run with > > the idea. > > > > Attached is the diff. Thanks, looks like a good starting point. One thing I'd consi

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Justin Wetherell
Now that I think of it, we really need a new flag on the program class to allow duplicates. I know some shows (like soap operas) have the same title, sub_title, and description and we would need to over-ride my new code. On 12/30/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: Actually, try thi

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Justin Wetherell
Actually, try this patch instead. On 12/30/06, Justin Wetherell <[EMAIL PROTECTED]> wrote: I've done a quick hack for duplicate detection, if you want ro run with the idea. Attached is the diff. On 12/30/06, Dirk Meyer < [EMAIL PROTECTED]> wrote: > > Hi, > > "Andrew Flegg" wrote: > > Anamorph

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Justin Wetherell
I've done a quick hack for duplicate detection, if you want ro run with the idea. Attached is the diff. On 12/30/06, Dirk Meyer <[EMAIL PROTECTED]> wrote: Hi, "Andrew Flegg" wrote: > Anamorphic skin > ~~~ > I've got a 16:9 CRT TV in the UK, connected over S-Video. X is running > a

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Dirk Meyer
Hi, "Andrew Flegg" wrote: > Anamorphic skin > ~~~ > I've got a 16:9 CRT TV in the UK, connected over S-Video. X is running > at 800x600 (with overscan). Since the TV stretches the image > horizontally, this means non-square pixels. The current themes look > rather "fat" like this, so I

Re: [Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Justin Wetherell
I'd be very interested in both these features but i'm affraid that I can't really be any help. I also have a feeling that the second part of this (duplicate detection) would need some kind of sql backend (maybe SqlLite, since it's already used for caching reasons?). On 12/30/06, Andrew Flegg <[EM

[Freevo-devel] Anamorphic skins & duplicate recordings

2006-12-30 Thread Andrew Flegg
Hi, With the announcement of v1.7, I'm moving back to Freevo after a brief try of MythTV when I got my DVB card. Mainly due to Myth's bloat, speed (or lack of) and the abysmal quality of the audio output and UI of MythMusic. However, there are a couple of things which are now beginning to bug me