[Freevo-users] recording server, how can this work???

2006-12-04 Thread Paul Sijben
All,

I tried getting the recording server to work, but I get no items in the
menu. OK so I look at the source code for dvdbackup.py. I see this

 if item.type == 'video' and item.mode == 'dvd' and hasattr(item,
'info_type'):
if item.info_type == track: #and item.media and
item.media.devicename:
#for dvd on disc
self.dvdsource = item.filename
self.title = int(split(item.url)[-1])
   
if hasattr(item, 'media') and hasattr(item.media,
'devicename'):
#we have a real dvd disc
self.dvdsource = item.media.devicename
self.title = int(item.url[6:])

self.item = item
return [ (self.encoding_profile_menu, _('Backup this dvd
title...')) ]
return []

Now there must be at least something wrong with this indentation because
a real DVD does not have a info_type.
So I hacked the code around a little to make sure that we got to the bit
that has the comment on the real dvd disc in it. Next issue: the url ==
dvd:// according to the log, which int should be put here in self.title?

At this point I am stumped. How can this code work? Am I missing something?
I have looked at both the plugin for 1.5.x as well as the version in
1.7.0rc1.
Input is greatly appreciated.

Paul

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recording server, how can this work???

2006-12-04 Thread Duncan Webb
Paul Sijben wrote:
 Duncan Webb wrote:

 Now there must be at least something wrong with this indentation because
 a real DVD does not have a info_type.

 You're not backing up a DVD but a title and titles have info_type.
   
 If I try and backup a DVD I come by the same code, and it is completely
 bypassed (because a DVD has no info_type) so I see no entry in the menu
 and can not backup. That is what I see happening. Is that correct?

You need to go to the sub-menu (Enter) of a DVD and then select a title
and then the sub-menu of a title, you will find it there.

The plug-in has a bad name is should really be called backupdvdtrack.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recording server, how can this work???

2006-12-04 Thread Paul Sijben
Ah, OK will undo my changes and try again!

Duncan Webb wrote:
 Paul Sijben wrote:
   
 Duncan Webb wrote:
 
 Now there must be at least something wrong with this indentation because
 a real DVD does not have a info_type.
 
 You're not backing up a DVD but a title and titles have info_type.
   
   
 If I try and backup a DVD I come by the same code, and it is completely
 bypassed (because a DVD has no info_type) so I see no entry in the menu
 and can not backup. That is what I see happening. Is that correct?
 

 You need to go to the sub-menu (Enter) of a DVD and then select a title
 and then the sub-menu of a title, you will find it there.

 The plug-in has a bad name is should really be called backupdvdtrack.

 Duncan


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users
   

-- 
Paul Sijben mailto:[EMAIL PROTECTED]
Amersfoort, NL  http://www.sijben.net
tel:+31 334557522   fax:+31 33 4557523

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] recording server

2004-07-13 Thread skeeterskip
Where is recording server file located?


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording server

2003-11-03 Thread Mattias
Try

freevo recordserver start

/Mattias...

On 03 Nov 2003 05:59:34 -0500, David Willis [EMAIL PROTECTED] wrote:

Here's a question - with the binary for 1.4.rc1, should I be using the
record_daemon or recordserver?  I've tried running both, and no matter
what I do, freevo gives the message Get connections failed:
record_client connection error.  I've tried running the daemon from
cron every minute, and I've tried starting the recordserver as well (I
get a bunch of messages about duplicate plugins and then nothing - it
doesn't appear in my process listing at all, so I assume it failed to
start).  How do I get the recording server up and running?  Any ideas
would be welcome.
Dave


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording server

2003-11-03 Thread David Willis
I tried freevo recordserver start - I get a list of warnings about duplicate
plugins (all ignored), and then nothing.  No process listed as running, and
when I try to record something, the error about the failed connection to
record_client.  I'm puzzled!

- Original Message - 
From: Mattias [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 7:09 AM
Subject: Re: [Freevo-users] Recording server


 Try

 freevo recordserver start

 /Mattias...


 On 03 Nov 2003 05:59:34 -0500, David Willis [EMAIL PROTECTED]
wrote:

  Here's a question - with the binary for 1.4.rc1, should I be using the
  record_daemon or recordserver?  I've tried running both, and no matter
  what I do, freevo gives the message Get connections failed:
  record_client connection error.  I've tried running the daemon from
  cron every minute, and I've tried starting the recordserver as well (I
  get a bunch of messages about duplicate plugins and then nothing - it
  doesn't appear in my process listing at all, so I assume it failed to
  start).  How do I get the recording server up and running?  Any ideas
  would be welcome.
 
  Dave



 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 Does SourceForge.net help you be more productive?  Does it
 help you create better code?   SHARE THE LOVE, and help us help
 YOU!  Click Here: http://sourceforge.net/donate/
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users





---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording server

2003-11-03 Thread Rob Shortt
David Willis wrote:
I tried freevo recordserver start - I get a list of warnings about duplicate
plugins (all ignored), and then nothing.  No process listed as running, and
when I try to record something, the error about the failed connection to
record_client.  I'm puzzled!
Please post the startup messages.  Also look in 
/var/log/freevo/recordserver-0.log (or in /tmp/ if you don't have 
/var/log/freevo), there may be errors there as well.  Even if you have 
duplicate plugin.activates in your config (you should fix that!) 
recordserver will only initialize the recording plugin.

-Rob



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Recording server

2003-10-15 Thread Tim Walter
Hi,

Still troubled by trying to get the recording server to work...

First to get it out the way..  Can the record server run without XMLTV 
installed?

Assuming it can, how can I start the Record Server manually as a check? 
Whatever I try and organise the web interface resolutely announces the 
record server is offline/not active etc.

RH9
Freevo via RPM 1.3.4
Mplayer 0.92 and mencoder
I have tried to follow the instructions and have crontab running 
record_daemon.py every minute
Added the fix to avoid crashes (docs section 2.3.4)
Edited inittab according to the doc page (though I don't have a boot 
directory, but the record_server_init file is in the helpers directory 
within freevo???
Tried ./freevo recordserver with no apparent effect (merely starts 
freevo as usual)

Where do I go from here?

Desperate of Newbury
--
Tim
http://yingtong.co.uk
AMD Athlon 1000, 400Mb Ram, 40GB HD
Hauppauge PCI TV card, PAL
Radeon 9200 VO, RH9, Freevo1.3.4
---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording server

2003-10-15 Thread Rob Shortt
Tim Walter wrote:
First to get it out the way..  Can the record server run without XMLTV 
installed?
Yes.  You must still have TV_CHANNELS configured in your local_conf.py.

Assuming it can, how can I start the Record Server manually as a check? 
Whatever I try and organise the web interface resolutely announces the 
record server is offline/not active etc.

RH9
Freevo via RPM 1.3.4
Mplayer 0.92 and mencoder
I have tried to follow the instructions and have crontab running 
record_daemon.py every minute
Added the fix to avoid crashes (docs section 2.3.4)
Edited inittab according to the doc page (though I don't have a boot 
directory, but the record_server_init file is in the helpers directory 
within freevo???
Tried ./freevo recordserver with no apparent effect (merely starts 
freevo as usual)

Where do I go from here?
Things have changed a bit since the 1.3.4 release.  The docs are 
probably more geared towards 1.4.  Can you try out the 1.4-rc1 rpm's 
instead?  I think you will have better luck. :)

-Rob



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] recording server connection to freevo?

2003-09-02 Thread gcampbell
Hi,

I started messing around with freevo last week, and I am really impressed
with where it's at! I'd like to help out with the effort if I can find a
spot to apply myself.

I have a question, but first - some info on my setup:
Freevo version: 3.5
video card: ATI TV-Wonder VE (Actually, it works pretty good considering
the $$)
OS: RH 9
Kernel: 2.4.20-23

I've installed from rpm's.

On to the question: The recording server is looking for a file called
record_schedule.xml. The local_conf.py file (and of course the
corresponding  freevo_config.py file * see note below) has the following
setting:
REC_SCHEDULE_FILE = '/tmp/freevo_record.lst'

Even if they (freevo and the recording server) are pointed to the same
file, they are different formats. Which means that when one selects a
program and F6's to record it from freevo, the two entites will not meet
in the middle - meaning the recording server never gets notification that
there is something to record (a snippet from the recording server's log
file):

2003/09/01 21:16 MDT [*RecordServer*] in checkToRecord
2003/09/01 21:16 MDT [*RecordServer*] GET: reading cached file
(/var/cache/freevo/record_schedule.xml)
2003/09/01 21:16 MDT [*RecordServer*] Got ScheduledRecordings (version 2).
2003/09/01 21:16 MDT [*RecordServer*] ScheduledRecordings has 0 items.

I've searched around quite a bit in the news group and documentation for
the answer to this, and I'm hoping I will not look like the twit who is
asking this question for the n'th time... But, here it goes:

It doesn't seem like the linkage between freevo and the recording server
can work at all. I'm somehow missing a big piece of the puzzle - how to
either tell freevo to save the recording schedule in an XML format that
the recording server will understand, or vice versa.

The documentation on this is a little light. From subtle comments on the
email list, there might be a large piece of documentation on the recording
server that I've missed (including the setup of the web interface).

I would love to help out on some of this. If you can help me understand
the linkage, I can document it in a fuller fashion for the web based
docs... Perhaps this is already fully explained in a web based doc that I
am missing?

Thanks for any help you can provide.

cheers,
Greg

Note:
- the subtle name difference in the freevo_config.py file vs.
local_conf.py (which one is suppose to create to make the local
modifications) hung me up for several minutes... It might be wise to
highlight the config vs conf difference better on the web page. Maybe
I'm the only one who missed this, so it's just my $0.02 worth.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recording server connection to freevo?

2003-09-02 Thread Rob Shortt
[EMAIL PROTECTED] wrote:
Hi,
Hi.

I started messing around with freevo last week, and I am really impressed
with where it's at! I'd like to help out with the effort if I can find a
spot to apply myself.
I have a question, but first - some info on my setup:
Freevo version: 3.5
That's interesting because the latest Freevo release is 1.3.4. ;)

video card: ATI TV-Wonder VE (Actually, it works pretty good considering
the $$)
OS: RH 9
Kernel: 2.4.20-23
I've installed from rpm's.

On to the question: The recording server is looking for a file called
record_schedule.xml. The local_conf.py file (and of course the
corresponding  freevo_config.py file * see note below) has the following
setting:
REC_SCHEDULE_FILE = '/tmp/freevo_record.lst'
In your version record server is configured by a file called 
record_config.py and that is where it points to record_schedule.xml.  In 
1.3.4 the main (TV) Freevo interface doesn't utilize record server, but 
rather record_daemon.py from cron... that is where freevo_record.lst 
comes in.

Even if they (freevo and the recording server) are pointed to the same
file, they are different formats. Which means that when one selects a
Yes, that would break things.

program and F6's to record it from freevo, the two entites will not meet
in the middle - meaning the recording server never gets notification that
there is something to record (a snippet from the recording server's log
file):
2003/09/01 21:16 MDT [*RecordServer*] in checkToRecord
2003/09/01 21:16 MDT [*RecordServer*] GET: reading cached file
(/var/cache/freevo/record_schedule.xml)
2003/09/01 21:16 MDT [*RecordServer*] Got ScheduledRecordings (version 2).
2003/09/01 21:16 MDT [*RecordServer*] ScheduledRecordings has 0 items.
I've searched around quite a bit in the news group and documentation for
the answer to this, and I'm hoping I will not look like the twit who is
asking this question for the n'th time... But, here it goes:
It doesn't seem like the linkage between freevo and the recording server
can work at all. I'm somehow missing a big piece of the puzzle - how to
either tell freevo to save the recording schedule in an XML format that
the recording server will understand, or vice versa.
If you use Freevo CVS you can check a couple of files out on a branch 
that let the main interface talk to record server.  I have been busy 
moving in the last week or so and I need to make a couple of changes 
before committing them to the main branch.  We are talking about making 
a release, maybe by this weekend, and indend on fixing this record 
server inconsistency.

The documentation on this is a little light. From subtle comments on the
email list, there might be a large piece of documentation on the recording
server that I've missed (including the setup of the web interface).
There is some documentation in the wiki (setup section) on the record 
server but that is meant for CVS...  I updated it in anticipation of my 
changes.

HTH,
-Rob


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users