Re: [Freevo-users] Filename sort of TV recordings

2007-07-30 Thread Duncan Webb
> Hi all,
>
> There are times I've had to rename the avi and fxd files (and revise the
> contents of the fxd so it points to the renamed avi) of certain
> recordings due to errors in the TV guide or if I want to archive a
> recording to a network drive that does not allow the colon character in
> filenames (recordings made prior to availability of
> TV_RECORDFILE_OKLETTERS).  Unfortunately, this updates the
> date/timestamp of the renamed/updated files so it no longer displays in
> the original recording date/time  sequence in Freevo;  instead, it shows
> up at the bottom of list as if it were the newest recording.  I've tried
> using touch to set the date/timestamp back to the original value, but it
> seems Freevo is using ctime instead of atime/mtime for date sorting.

IIRC freevo uses mtime, if freevo used ctime then the timestamps would not
change after an edit, asuming that the editor does not create a new file.
atime can be disabled, as a performace trick, in the /etc/fstab with the
noatime option.

A neat way round this is to use touch with the reference option. eg:
touch -m -r /path/to/fxdfile tmpfile
which will create a tmpfile with the same timestamp as the fxdfile
then after editing the fxdfile you can set the timestamp back with:
touch -m -r tmpfile /path/to/fxdfile
Check the options with the touch man page, as this is from memory.

> As an alternative, I tried changing DIRECTORY_SORT_BY_DATE = 0 to sort
> by filename instead of date.  Since I use the default TV_RECORDFILE_MASK
> = '%%m-%%d %%H:%%M %(progname)s - %(title)s', I figured this would allow
> the programs to sort by record date/time sequence since mm-dd_HH_MM are
> the high end of the filenames themselves.  However, it appears Freevo is
> using the  in the fxd files for sorting and, since all
> program episodes in a TV series have the same , the sort
> order is a bit unpredictable.  I've tried enabling and disabling
> DIRECTORY_SMART_SORT, but the results are the same;  namely, programs
> are sorted by  instead of filename.  Am I missing some
> other option or is the comment in local_conf.py incorrect when it says
> setting DIRECTORY_SORT_BY_DATE = 0 means "No, always sort by filename"?
> I'm running Freevo 1.6.3.

DIRECTORY_SMART_SORT just remove the "the" and "a" from the name before
sorting, so will not help much in this case.

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Filename sort of TV recordings

2007-07-31 Thread Duncan Webb
Art S R wrote:
> Duncan Webb wrote:
>> IIRC freevo uses mtime, if freevo used ctime then the timestamps would not
>> change after an edit, asuming that the editor does not create a new file.
>>   
> As a test, I created 3 sets of files about 1 minute apart:  xx_Able and
> xx_Able.fxd.  The fxd files have  of "Able xx" and 
> of "xx_Able".  As expected, these files initially have the same mtime
> and ctime values:
> 
> [EMAIL PROTECTED] Travel]$ ls -l
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:56 02_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:56 02_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> [EMAIL PROTECTED] Travel]$ ls -lc
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:56 02_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:56 02_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> 
> When I display the directory in Freevo, the files are listed in
> chronological sequence, as expected:
> Able 01
> Able 02
> Able 03
> 
> Next I renamed "02_Able" to "02_Alpha" and "02_Able.fxd" to
> "02_Alpha.fxd".  I also updated the contents of 02_Alpha.fxd so the
>  tag now refers to the "02_Alpha" file, but left the 
> as "Able 02".
> 
> As shown below, the mtime for 02_Alpha remains unchanged since it was
> renamed but not modified.  The mtime for 02_Alpha.fxd has been updated
> since it was modified as well as renamed.
> [EMAIL PROTECTED] Travel]$ ls -l
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:56 02_Alpha
> -rw-r--r-- 1 freevo users 185 2007-07-31 02:01 02_Alpha.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> 
> However, note that the ctime for both 02_Alpha and 02_Alpha.fxd have
> been updated:
> [EMAIL PROTECTED] Travel]$ ls -lc
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 02:01 02_Alpha
> -rw-r--r-- 1 freevo users 185 2007-07-31 02:01 02_Alpha.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> 
> When I display the directory in Freevo, the renamed/updated "Able 02"
> item (which is associated with 02_Alpha and 02_Alpha.fxd) is now listed
> last since it's the newest item:
> Able 01
> Able 03
> Able 02
> 
> I use touch to set the timestamp back to 01:56 for the two
> renamed/updated files:
> [EMAIL PROTECTED] Travel]$ touch -t 200707310156 02_Alpha.fxd
> [EMAIL PROTECTED] Travel]$ touch -t 200707310156 02_Alpha
> 
> The mtime for these two files now show 01:56:
> [EMAIL PROTECTED] Travel]$ ls -l
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:56 02_Alpha
> -rw-r--r-- 1 freevo users 185 2007-07-31 01:56 02_Alpha.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> 
> However, the ctime for these two files is now 02:04 instead of the
> previous 02:01, because that's when the touch command was used on these
> files.
> [EMAIL PROTECTED] Travel]$ ls -lc
> total 12
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:55 01_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:55 01_Able.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 02:04 02_Alpha
> -rw-r--r-- 1 freevo users 185 2007-07-31 02:04 02_Alpha.fxd
> -rw-r--r-- 1 freevo users   0 2007-07-31 01:57 03_Able
> -rw-r--r-- 1 freevo users 184 2007-07-31 01:57 03_Able.fxd
> 
> When I display the directory in Freevo, it still shows "Able 02" as the
> newest item:
> Able 01
> Able 03
> Able 02
> 
> If Freevo sorts by mtime, shouldn't "Able 02" return to its original
> position between "Able 01" and "Able 03"?
> 
> Thanks for any insight you can offer.

As soon as you have changed the time stamp and not kept a reference file
then it is impossible to get it back as you have lost information (ms)

It doesn&#x

Re: [Freevo-users] Eject drive bay on empty discs

2007-07-31 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ingo Bressler wrote:
> Hello all,
> 
> a few days ago I installed the freevo 1.7.2 package on my debian
> unstable box. (I'm quite impressed so far)
> 
> While configure local_conf.py I wondered if it's possible to eject the
> drive bay if I select an empty disc entry in the video or audio menu ?
> 
> What has to be done to get this behaviour ?
> Right now, I'm using the option "HIDE_UNUSABLE_DISCS = 0", so the
> unusable/empty discs a listed as well. If I select one within freevo, I
> get the message "no action defined for this selection" (or similar,
> because I'm using the german translation).
> 
> It would be great to bind the EJECT action to this selection (the same
> action which occurs if the eject-button on the remote control is
> pressed). But only if the disc/drive is empty ..
> 
> Can this be done via the config-file or has real code to be adjusted ?


Hmm, AFAIK the eject command is bound to the first player, I think that
 this is quite reasonable behaviour. But it would be nice to use the
selected player when your on a drive. But I think that this may be a bit
tricky.

Really what you need is an eject button for each player so you can
specify which player should be ejected or loaded.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFGr21fNi6l+Xvys44RAvvNAJ9ghFpXvJIxdA5hCT4kgXxc/LYHswCY43B2
PWCMsLpCvGLqtsAcsTNtGA==
=cwOr
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Duncan Webb
Mark Bloch wrote:
> Ok, and one more thing.
> If I call the file { 300 (2006).avi }
> and then trying within freevo to search for imdb info, it still can't
> find nothing.
> 
> although as we can see if I do:
> 
> freevo imdb -s "300 (2006).avi"
> from the command line, it works.
> so I guess it's a bug with freevo itself?

It is a bug :( numbers are being removed from the search list too.

BTW the imdb guess option is what freevo uses for a search.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Mac OS X 10.4 PPC crash at start-up: procstats instance has no attribute 'currentCpu'

2007-07-31 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Russell Baldwin wrote:
> Mac OS X 10.4 PPC crash at start-up: procstats instance has no  
> attribute 'currentCpu'
> 
> OK, I have managed to get  Freevo 1.72 starting and then falling over  
> with the following error
> 
> "WARNING: PyLirc not found, lirc remote control disabled!
> Couldn't open mixer /dev/mixer
> plugin mixer deactivated, reason: unknown
> The plugin neither called __init__ nor set a reason why
> Please contact the plugin author or the freevo list
> Crash!
> Traceback (most recent call last):
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/main.py", line 460, in 
>  MainMenu().getcmd()
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/main.py", line 173, in getcmd
>  menuw.pushmenu(mainmenu)
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/menu.py", line 378, in pushmenu
>  self.refresh()
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/menu.py", line 406, in refresh
>  skin.draw('menu', self, self.menustack[-1])
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/skins/main/main.py", line 526, in draw
>  a.draw(settings, object, menu, style, type, self.force_redraw)
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/skins/main/area.py", line 194, in draw
>  self.update_content()
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/skins/main/default_areas.py", line  
> 179, in update_content
>  p.draw((self.widget_type, self.menuw), self)
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/plugins/idlebar/__init__.py", line  
> 110, in draw
>  add_x = p.draw((type, object), x, osd)
>File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/freevo/plugins/idlebar/system.py", line 143,  
> in draw
>  widthcpu = font.stringsize(self.currentCpu)
> AttributeError: procstats instance has no attribute 'currentCpu'
> freevo not running"
> 
> Anybody have any idea?

Have you a plugin.activate('idlebar.system') in you local_conf.py? If so
comment it out. Could be called idlebar.system.procstats.

If not add these lines to local_conf.py
plugin.remove('idlebar.tv', level=20)
plugin.remove('idlebar.cdstatus', level=25)
plugin.remove('idlebar.diskfree', level=30)
plugin.remove('idlebar.clock', level=50)
plugin.remove('idlebar')


They disable the idlebar.


Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr6HhNi6l+Xvys44RAmTVAKCfasDy+k8qQ5bds2963SCU5iB8vACgnmZ+
bpdPnI5cIrOkSdg+TTGGjHY=
=/tr8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] A problem with imdb and the movie 300

2007-07-31 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Bloch wrote:
> Ok, and one more thing.
> If I call the file { 300 (2006).avi }
> and then trying within freevo to search for imdb info, it still can't
> find nothing.
> 
> although as we can see if I do:
> 
> freevo imdb -s "300 (2006).avi"
> from the command line, it works.
> so I guess it's a bug with freevo itself?
> 
> On 7/31/07, *Evan Hisey* < [EMAIL PROTECTED] >
> wrote:
> 
> Mark-
>   That looks like a glitch in the way 300 was put in to the imdb
> database.
> Evan
> 
> On 7/31/07, Mark Bloch <[EMAIL PROTECTED]
> > wrote:
> > I can't seem to get imdb info about 300.
> > I have the most recent version of fxdimdb.py.
> > in order to see what happens try:
> > freevo imdb -s 300
> >
> > btw; if you try:
> >
> > freevo imdb -s "300 (2006)"
> >
> > every thing seems to be fine.
> >
> > any thoughts about the subject?

A quick kook at the code and my guess is that the problem is with the
default settings for IMDB_REMOVE_FROM_NAME which may need changing from
the default. Which will strip leading numbers from the name and in this
case leave you with an empty string.

You can set these in local_conf.py:

# list of regexp to be ignored on a disc label
IMDB_REMOVE_FROM_LABEL = ('season[\._ -][0-9]+', 'disc[\._ -][0-9]+',

'd[\._ -][0-9]+', 'german')

# list of regexp to be ignored on a filename
IMDB_REMOVE_FROM_NAME = ['^[0-9_]+']

# list of words to ignore when searching based on a filename
IMDB_REMOVE_FROM_SEARCHSTRING = ('the', 'a')

The idea is to strip the date from TV_RECORDFILE_MASK by default it is:
'%%m-%%d %%H.%%M %(progname)s - %(title)s' but the default
IMDB_REMOVE_FROM_NAME looks a bit wrong for the mask.

You can change it in you local_conf.py to:
IMDB_REMOVE_FROM_NAME = ['']

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr6AANi6l+Xvys44RAkklAJsEq+301pGfLAnOadELXHQ+Z+PorQCfUkph
Hne87s1BkPGE9KSFjvXaUiQ=
=WUBL
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Eject drive bay on empty discs

2007-08-01 Thread Duncan Webb
Gorka Olaizola wrote:
> On Tue, Jul 31, 2007 at 07:11:59PM +0200, Duncan Webb wrote:
>> Really what you need is an eject button for each player so you can
>> specify which player should be ejected or loaded.
>>
> Yesterday I started to code a submenu entry for ejecting the drive
> because my drive has no eject button and I have to do it by ssh.
> 
> I don't have to work in the afternoon so maybe I could have a patch done
> tomorrow.

Not sure if this helps but hasattr(self.item.media, 'id') may be only
true when the item is a cd drive.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] [ANNOUNCE] Freevo-1.7.3 Release

2007-08-01 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello all,

Today, Swiss National Day, freevo-1.7.3 has been released and as usual
there are a lot of additions, changes and fixes in this release.

First, a big thank you to you for using Freevo! A good choice, if I
may say so,  :-)  and without your support there would be no Freevo.

A special thanks to all that have contributed since the release of
1.7.2 by sending in translations, patches for new features and bug
fixes, testing, reporting problems, updating the wiki pages and for
helping others with problems on the lists. All of this helps keep
Freevo alive and well.

A particular thank to:
Adam Charrett for his great recordings manager a button bar plug-ins
Wout Clymans for his audio scrobbler plug-in
Pierre Ossman for updating the Apple trailers plug-in
Ringj Cn for the new Chinese translation
Lefteris F. Sarakinos for the new Greek translation
Pascal Schirrmann for the French translation updates
Gorka Olaizola for the Spanish translation updates
Valera Koval for the work on mplayer field dominance and interlacing
and there are many more names see the change log for a full list and,
if I've forgotten you, your efforts are greatly appreciated.

As well as those items listed above there are other changes that are
worthy mentioning, you can now link you personal web pages to the
Freevo web pages, you can start freevo in the full-screen mode and
pass settings to the x-server and you can have pops and clicks as you
move about the menu. The logging is now done with the Python logger
which gives accurate timestamps. The child process are now run with
Python's subprocess module.

If you haven't contributed anything, no problem, using Freevo is what
it is all about. Please do feel free to help out by adding and
updating wiki pages, the wiki is very important for exchanging
information. There are also translations to be written and maintained.
And if you have a bit of programming inclination your very welcome to
provide patches and fixes, I don't bite... much :)

The complete change log is here:
http://freevo.sourceforge.net/cgi-bin/doc/ChangeLog

The release is now ready for downloading from the SourceForge page:
http://sourceforge.net/project/showfiles.php?group_id=46652
Fianlly a big thanks to SourceForge for their services.

TTFN
Duncan

http://en.wikipedia.org/wiki/TTFN
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGsG92Ni6l+Xvys44RAsMAAJ0Ubcwyp5FyOrJ0YvPrgveDmXoKRwCfdygH
6QDj/YtMFqBnY6UruHLsiiw=
=u1ew
-END PGP SIGNATURE-



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] minor issues in 1.7.2

2007-08-01 Thread Duncan Webb
Jaap Struyk wrote:
> Duncan, it looks like installing pylirc solved my problem...

Hmm, were you using the event driver before?

I always use lircd as it is easy to check what is happening.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] [ANNOUNCEMENT] New version of DVB Live Pause Plugin v0.3

2007-08-01 Thread Duncan Webb
>
> Is this now in the Freevo 1.7.3 release?

No, Adam didn't want it in at the time.

> (Now that linux-dvb appear to have finally got the solution to the
> problems with my usb dvb stick)

In the wiki?

Cheers,
Duncan

> Adam Charrett wrote:
>> Just found a bug that meant a Freevo crash if you played anything before
>> viewing TV, I've upload a new version (0.3.1) to the feature request
>> now.
>>
>> http://sourceforge.net/tracker/index.php?func=detail&aid=1720288&group_id=46652&atid=446898
>>
>> This should solve any problems with DVBStreamer not running as well.
>>
>> Cheers
>>
>> Adam
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> ___
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo svn not reading local_conf.py

2007-08-06 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Isom wrote:
> Did something change i the last few days.  freevo appears not to be
> reading local_conf.py in my home dir or not respecting :

It need to be in ~/.freevo/

I will read both freevo.conf and local_conf.py from this directory

> FREEVO_CACHEDIR = "/MultiMedia/Freevo/JonsCache"
> 
> later
> 
> Jonathan
> 
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 57, in ?
> import config
>   File "/usr/lib/python2.4/site-packages/freevo/config.py", line 530, in ?
> execfile(os.environ['FREEVO_CONFIG'], globals(), locals())
>   File "/usr/share/freevo/freevo_config.py", line 1976, in ?
> os.makedirs(TV_LOGOS)
>   File "/usr/lib/python2.4/os.py", line 159, in makedirs
> mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/var/cache/xmltv/logos'

HTH
Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGt1aHNi6l+Xvys44RAkbbAJ4xj9zDu4MpbTXV2IrrNgaBf61APwCbBfWJ
gaq7WMOuK9NVSEale272vew=
=Bdxo
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo svn not reading local_conf.py

2007-08-06 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Isom wrote:
> Sorry if i wasn't clear.  it is in ~/.freevo/ and was working before i
> updated freevo today.
> now it trying to create directories  and doesn't appear to be loading
> the ~/.freevo/local_conf.py

I'm sure it is working from the main-0.log (root) I get:

Freevo 1.7.4-svn r9804 started at Mon Aug  6 19:02:32 2007
-

2007-08-06 19:02:32,905 INFO config.py (418): Loading freevo
configuration file "/root/.freevo/freevo.conf"
2007-08-06 19:02:33,099 INFO config.py (546): Loading local
configuration file "/root/.freevo/local_conf.py"

Duncan

> On 8/6/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Jonathan Isom wrote:
> >>> Did something change i the last few days.  freevo appears not to be
> >>> reading local_conf.py in my home dir or not respecting :
> It need to be in ~/.freevo/
>
> I will read both freevo.conf and local_conf.py from this directory
>
> >>> FREEVO_CACHEDIR = "/MultiMedia/Freevo/JonsCache"
> >>>
> >>> later
> >>>
> >>> Jonathan
> >>>
> >>>
> >>> Traceback (most recent call last):
> >>>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line
> 57, in ?
> >>> import config
> >>>   File "/usr/lib/python2.4/site-packages/freevo/config.py", line
> 530, in ?
> >>> execfile(os.environ['FREEVO_CONFIG'], globals(), locals())
> >>>   File "/usr/share/freevo/freevo_config.py", line 1976, in ?
> >>> os.makedirs(TV_LOGOS)
> >>>   File "/usr/lib/python2.4/os.py", line 159, in makedirs
> >>> mkdir(name, mode)
> >>> OSError: [Errno 13] Permission denied: '/var/cache/xmltv/logos'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGt16gNi6l+Xvys44RAjQgAJ9ckzsXdUYJo4gjqJsLLO82a5CZ1gCfU21g
ukUBky84AOjhZQJCA7IU3hg=
=5iBI
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Error while opening mkv file

2007-08-06 Thread Duncan Webb
> Hi,
>
> When I try to open an mkv file with freevo. I have a error that leads
> to shutdown.
>
> The trace is in log file is :
>
> mplayer.py (134): MPlayer.play(): mode=file,
> url=//home/yomgui/films/Old_Boy.mkv
> Traceback (most recent call last):
>  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 290, in
> eventhandler
>app.eventhandler(event)
>  File "/usr/share/pycentral/python-freevo/site-packages/freevo/menu.py",
> line 673, in eventhandler
>action( arg=arg, menuw=self )
>  File
> "/usr/share/pycentral/python-freevo/site-packages/freevo/video/videoitem.py",
> line 550, in play
>error = self.player.play(mplayer_options, self)
>  File
> "/usr/share/pycentral/python-freevo/site-packages/freevo/video/plugins/mplayer.py",
> line 232, in play
>command += config.MPLAYER_ARGS[mode].split(' ')
> KeyError: 'default'
>
>
> I can play this file using mplayer command line ...
>
> Is it a bug ?

In local_conf.py have you changed MPLAYER_ARGS?

I should have a default, such as:
'default': '-cache 5000'

or an entry for mkv which will give setting for matroska files.

Duncan





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo svn not reading local_conf.py

2007-08-06 Thread Duncan Webb
> Thanks Adam and Tanja for the help. i reverted that file to the
> previous revision.
>
> Later
>
> Jonathan
>
> On 8/6/07, Tanja <[EMAIL PROTECTED]> wrote:
>> Same problem here.
>> As Adam already pointed out, this is introduced with this patch:
>> https://sourceforge.net/tracker/index.php?func=detail&aid=1767785&group_id=46652&atid=446895
>>
>> Would I have to define OS_CACHEDIR in local_conf.py?
>> I wonder why not use FREEVO_CACHEDIR instead of OS_CACHEDIR for this?
>>
>> Regards
>> Tanja
>>
>> Adam Charrett schrieb:
>> > On Mon, 2007-08-06 at 20:48 +0200, Pascal Schirrmann wrote:
>> >> Duncan Webb a écrit :
>> >>> -BEGIN PGP SIGNED MESSAGE-
>> >>> Hash: SHA1
>> >>>
>> >>> Jonathan Isom wrote:
>> >>>
>> >>>>>>> OSError: [Errno 13] Permission denied: '/var/cache/xmltv/logos'
>> >>>>>>>
>> >> Hi,
>> >>
>> >> Same problem here, not check further : after installing the svn
>> version
>> >> 9803 (did work with the revision 9801), I did obtain such a message
>> at
>> >> start :
>> >> cannot create /var/cache/xmltv (permission denied).
>> > The problem is version 9802 of freevo_config.py change at line 1976 to
>> > simply check it /var/cache/xmltv existed and if not create it, the
>> > previous version checked if it existed and if not used /tmp instead.
>> >
>> > Duncan doesn't see it as he's running freevo as root.
>> >
>> > Looks like some more logic is required here, a try: except: block to
>> > catch the permission denied and use /tmp instead.

IMHO using /tmp as a fall back is a poor choice for static data, better is
to use ~/.freevo. Alternatively, create a /var/cache/freevo owned by the
user that runs freevo.

There are certain files that should not really be in /tmp or in
/etc/freevo/cache, logos, TV.xml and scheduled recordings (as this
contains the favourites) as examples and deleting the contents of /tmp or
/var/cache/freevo would cause the loss of important information.

What I do is create a /var/lib/freevo and point these variables there.

Duncan




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Play media inside rar archives

2007-08-06 Thread Duncan Webb
>>I think you might want to check local_conf.py and look for the line
>>VIDEO_MPLAYER_SUFFIX and then add in rar as a filetype that mplayer
>>should play.I know mplayer will play some video files that are packed
>>n a rar like video cd's but unsure about other formats.
>
> I've had trouble getting mplayer to play rars directly, but this works
> fine:
>
> unrar p -inul  | mplayer -noidx -
>
> Can I easily implement this via conf file changes or am I going to
> have to do some additional hacking?

I suspect additional hacking is in order as, AFAIK, there is no
implementation of a running a command through a pipe. You need two
subprocess calls for this or running the command in a shell.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Error while opening mkv file

2007-08-07 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yomgui Gmail wrote:
> Hi,
>
> Thanks for your answer !
>
> Indeed, I have changed the MPLAYER_ARGS
>
> MPLAYER_ARGS = { 'avi' : '-cache 5000 -slang fr,en -idx
> cache-min=50 cache-prefill=50' }

You need to simply uncomment the original MPLAYER_ARGS and may be add
an entry for mkv like:
MPLAYER_ARGS = { 'dvd': '-cache 8192',
 'vcd': '-cache 4096',
 'cd' : '-cache 1024 -cdda speed=2',
 'tv' : '-nocache',
 'ivtv'   : '-cache 8192',
 'dvb': '-cache 1024',
 'avi': '-cache 5000 -idx',
 'rm' : '-cache 5000 -forceidx',
 'rmvb'   : '-cache 5000 -forceidx',
 'webcam' : 'tv:// -tv
driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2',
 'mkv': '-cache 5000 -slang fr,en -idx cache-min=50
cache-prefill=50'
     'default': '-cache 5000'
 }

It is the file extension that is used to select the entry.

Duncan

> I think I added the -slang fr,en for vobsub subtitles ...
>
> Tonight, I will try to remove this entry in my local_conf.py
>
> On 8/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> When I try to open an mkv file with freevo. I have a error that
>>> leads to shutdown.
>>>
>>> The trace is in log file is :
>>>
>>> mplayer.py (134): MPlayer.play(): mode=file,
>>> url=//home/yomgui/films/Old_Boy.mkv Traceback (most recent call
>>> last): File "/usr/lib/python2.4/site-packages/freevo/main.py",
>>> line 290, in eventhandler app.eventhandler(event) File
>>> "/usr/share/pycentral/python-freevo/site-packages/freevo/menu.py",
>>>  line 673, in eventhandler action( arg=arg, menuw=self ) File
>>>
"/usr/share/pycentral/python-freevo/site-packages/freevo/video/videoitem.py",
>>>  line 550, in play error = self.player.play(mplayer_options,
>>> self) File
>>>
"/usr/share/pycentral/python-freevo/site-packages/freevo/video/plugins/mplayer.py",
>>>  line 232, in play command += config.MPLAYER_ARGS[mode].split('
>>> ') KeyError: 'default'
>>>
>>>
>>> I can play this file using mplayer command line ...
>>>
>>> Is it a bug ?
>> In local_conf.py have you changed MPLAYER_ARGS?
>>
>> I should have a default, such as: 'default': '-cache 5000'
>>
>> or an entry for mkv which will give setting for matroska files.
>>
>> Duncan
>>
>>
>>
>>
>>
>> -
>>  This SF.net email is sponsored by: Splunk Inc. Still grepping
>> through log files to find problems?  Stop. Now Search log events
>> and configuration files using AJAX and a browser. Download your
>> FREE copy of Splunk now >>  http://get.splunk.com/
>> ___ Freevo-users
>> mailing list Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuJ1ZNi6l+Xvys44RAhfyAJ0cE1y2YYSh4AiNgWTrT3pNeb+5DQCgg7K+
jhTJN1kD+dqVPLLVrHiTNlY=
=ZIww
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo svn not reading local_conf.py

2007-08-07 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Isom wrote:
> What about Trying it out as a non-root user.  executing freevo from
> a tar ball will not run.  I do see the point but it would be nice
> if it would not crash starting up from the exetracting directory.
> So the are three locations for admin /var , for normal user
> ~/.freevo, all else fail either /tmp or ./ for uninstalled tryout.

The point is:

1 )  if you are running freevo as a non root user then you need to
change the permissions on files and devices or add the user to a video
and maybe an audio group.

2) If there is a cron job that cleans up /tmp such as "find /tmp -type
f -mtime +7 -exec rm -f {} \;" then you will lose your logos in a week.

Anyway I see your point. So...

I've just committed a change that will, hopefully, only use /tmp as a
last resort for the files. I can't test this 100% because I'm using
directfb and it only runs as root but it looks good up to the point of
starting freevo. The changes are not quite complete as some of the
setting are not yet changed and I've left in some test messages.

If you fancy testing this it would be good.

Duncan

>
> Later
>
> Jonathan
>
> On 8/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
>>> Thanks Adam and Tanja for the help. i reverted that file to the
>>>  previous revision.
>>>
>>> Later
>>>
>>> Jonathan
>>>
>>> On 8/6/07, Tanja <[EMAIL PROTECTED]> wrote:
>>>> Same problem here. As Adam already pointed out, this is
>>>> introduced with this patch:
>>>>
https://sourceforge.net/tracker/index.php?func=detail&aid=1767785&group_id=46652&atid=446895
>>>>
>>>>
>>>> Would I have to define OS_CACHEDIR in local_conf.py? I wonder
>>>> why not use FREEVO_CACHEDIR instead of OS_CACHEDIR for this?
>>>>
>>>> Regards Tanja
>>>>
>>>> Adam Charrett schrieb:
>>>>> On Mon, 2007-08-06 at 20:48 +0200, Pascal Schirrmann wrote:
>>>>>
>>>>>> Duncan Webb a écrit :
>>>>>>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>>>>>>>
>>>>>>> Jonathan Isom wrote:
>>>>>>>
>>>>>>>>>>> OSError: [Errno 13] Permission denied:
>>>>>>>>>>> '/var/cache/xmltv/logos'
>>>>>>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Same problem here, not check further : after installing
>>>>>> the svn
>>>> version
>>>>>> 9803 (did work with the revision 9801), I did obtain such
>>>>>> a message
>>>> at
>>>>>> start : cannot create /var/cache/xmltv (permission
>>>>>> denied).
>>>>> The problem is version 9802 of freevo_config.py change at
>>>>> line 1976 to simply check it /var/cache/xmltv existed and
>>>>> if not create it, the previous version checked if it
>>>>> existed and if not used /tmp instead.
>>>>>
>>>>> Duncan doesn't see it as he's running freevo as root.
>>>>>
>>>>> Looks like some more logic is required here, a try: except:
>>>>> block to catch the permission denied and use /tmp instead.
>> IMHO using /tmp as a fall back is a poor choice for static data,
>> better is to use ~/.freevo. Alternatively, create a
>> /var/cache/freevo owned by the user that runs freevo.
>>
>> There are certain files that should not really be in /tmp or in
>> /etc/freevo/cache, logos, TV.xml and scheduled recordings (as
>> this contains the favourites) as examples and deleting the
>> contents of /tmp or /var/cache/freevo would cause the loss of
>> important information.
>>
>> What I do is create a /var/lib/freevo and point these variables
>> there.
>>
>> Duncan
>>
>>
>>
>>
>> -
>>  This SF.net email is sponsored by: Splunk Inc. Still grepping
>> through log files to find problems?  Stop. Now Search log events
>> and configuration files using AJAX and a browser. Download your
>> FREE copy of Splunk now >>  http://get.splunk.com/
>> ___ Freevo-users
>> mailing list Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuNeBNi6l+Xvys44RAk82AJ9luzGDQ/zsOJJhfaDvr8GvaQAPOQCfcBFw
MXc/PzcbcQbbIUth+S616oM=
=y7jk
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] htpc case

2007-08-08 Thread Duncan Webb
John Molohan wrote:
> Stephen Rowles wrote:
>> Stephen Rowles wrote:
>>   
>>> However they also now have a 2nd generation case:
>>>
>>> http://www.hipergroup.com/English/products/hmc-2k53a.html
>>>
>>>   
>>> 
>> For anyone else interested I found it in the UK here:
>>
>> http://www.xcase.co.uk/p/301591/hiper-hmc-2k53a-h1-media-case---fitted-mainboard-athlon-64-3200-1gb-memory-slim-dvd-rw--rma.html
>>
>> and in the US on this site:
>>
>> http://www.newegg.com/Product/Product.aspx?Item=N82E16856171001
>>
>>
>> Never used either site - so take with a pinch of salt!
>>   
> This certainly looks like a nice solution. I'm worried about those 
> reviews regarding linux support but this posting [1] on the myth list 
> suggests that things might be looking up. Does anyone have more info on 
> this? Anyone using it? Any other links for suppliers (especially Europe)?
> 
> [1] http://www.mythtv.org/pipermail/mythtv-users/2007-July/186203.html

Try google, with:

Hiper HMC-2K53A-H1 Media Case site:.uk

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo svn not reading local_conf.py

2007-08-08 Thread Duncan Webb
Duncan Webb wrote:
> Jonathan Isom wrote:
>> What about Trying it out as a non-root user.  executing freevo from
>> a tar ball will not run.  I do see the point but it would be nice
>> if it would not crash starting up from the exetracting directory.
>> So the are three locations for admin /var , for normal user
>> ~/.freevo, all else fail either /tmp or ./ for uninstalled tryout.
> 
> The point is:
> 
> 1 )  if you are running freevo as a non root user then you need to
> change the permissions on files and devices or add the user to a video
> and maybe an audio group.
> 
> 2) If there is a cron job that cleans up /tmp such as "find /tmp -type
> f -mtime +7 -exec rm -f {} \;" then you will lose your logos in a week.
> 
> Anyway I see your point. So...
> 
> I've just committed a change that will, hopefully, only use /tmp as a
> last resort for the files. I can't test this 100% because I'm using
> directfb and it only runs as root but it looks good up to the point of
> starting freevo. The changes are not quite complete as some of the
> setting are not yet changed and I've left in some test messages.
> 
> If you fancy testing this it would be good.

I've complete the changes for this, (left in the print of the
directories). This is what I wrote in the freevo_config.py change log.

(5.21,
'''Added OS_STATICDIR, FREEVO_STATICDIR, OS_LOGDIR and FREEVO_LOGDIR
Change static data to use /var/lib/freevo or ~/.freevo, including
TV_RECORD_SCHEDULE, TV_LOGOS, XMLTV_FILE, you may also prefer
OVERLAY_DIR to be FREEVO_STATICDIR+'/overlay'
'''),

But may need some explanation.

All the variables are first read from the environment and then the
defaults for Linux are:
FREEVO_CACHEDIR: /var/cache/freevo ~/.freevo/cache /tmp/freevo/cache
FREEVO_STATICDIR: /var/lib/freevo ~/.freevo/static /tmp/freevo/static
FREEVO_LOGDIR: /var/log/freevo ~/.freevo/log /tmp/freevo/log
It will also try /tmp/freevo-

vou may want to copy/move your TV_RECORD_SCHEDULE, TV_LOGOS, XMLTV_FILE
to the static directory *before* starting any freevo processes.

TV_RECORD_SCHEDULE contains the recording schedule *and* your recording
favourites.
TV_LOGOS and XMLTV_FILE, well these are clear.

OVERLAY_DIR contains TV recording thumbnails, plus other stuff, and
doesn't really belong in the cache directory because they are a pain to
re-create. The default has *not* changed.

All the directories are created on start-up. You may like to do a create
the '/var' directories beforehand if not running as root and changed the
ownership to your freevo user.

This should be interesting...
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Display imdb information on a movie

2007-08-09 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yomgui Gmail wrote:
> Hi all,
> 
> 
> I have the imdb plugin activated. I can search for infos on imdb and
> some fxd files are created.
> 
> My problem is that those informations are not displayed when the
> 'cursor'  is on the movie. The cover is shown but no info.
> 
> I am wondering if it comes from the skins (I am using the default one) ...
> 
> Am I right ? If yes which skin should I use  to display the infos ?
> 
> 
> Thanks for Freevo :)

Did you run freevo cache, not that I think that this is a problem.

Can you check the contents of the fxd files that have been generated?

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGu3PrNi6l+Xvys44RAlpTAJ9aR/OZ6jQ5RigN8Mkq488Khm21+ACghLIi
b2azkgWX4QSfLHXLHyiJCNI=
=xCb8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Writting a plugin

2007-08-09 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pirlouwi wrote:
> Hello,
> I need some info to design my plugin.
> How can I display the information grabbed on the web? I need some kind
> of scrolling list to display the search result. How can I do that?
> Secondly, I need a way to go from a freevo folder directly to another
> folder, programmatically. How to do that?

Adam is the GUI King, he may be able to help you best.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGu3QkNi6l+Xvys44RAkYyAKCR/VAe5bRrl2Ii1E/+Ey3EP2kJ0gCfdoUf
cA2AM00kTF/jSKlfKbFyaCI=
=FTfj
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] For the site: What hardware (tv/graphics/sound) card do you use?

2007-08-09 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Molohan wrote:
> Hi all,
> 
> I want to update the recommended hardware section for the new site. Can 
> you reply here with the make and model of your;
> 
> * TV card - analogue, dvb-t/s/c, atsc
> * Sound card - with output used
> * Graphics card - with output used
> * Motherboard
> * Case


Hi John,

My hadware is documented here
http://www.linuxowl.com/hardware.html and here
http://www.linuxowl.com/ffs.html

The case has changed to:
OrigenAE X10, high-end Alu HTPC, Silver
Not one I would recommend as it's a pig to assemble and not really well
thought out for cable routing,

The irtrans ir receiver is nice though but the display is rather too
small to read from a distance.

TV card has changed from PVR-350 to PVR-500.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGu3byNi6l+Xvys44RAuZhAJ4nWgeIRwW6jODkSpfwY2hF+I3lJwCdHdJ0
f1aBxUYSjfcHdy1rOhih/kA=
=7+Wh
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Display imdb information on a movie

2007-08-10 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Lyra wrote:
> Hi,
> 
> Just a guess, but I think there´s a problem with some accents.
> Sometimes I have the same problem with portuguese fxds. You can enable
> debug and look at the log.
> 
> On 8/10/07, Yomgui Gmail <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I run freevo cache on a regular basis.
>>
>> I attached with this mail a fxd file that is not displayed. I did not
>> see anything wrong with it.

Try changing the & on line 17 to &

I thought that the xml special characters are filtered out, which
version of freevo are you using?

Duncan

>>
>> Guillaume
>>
>> On 8/9/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Yomgui Gmail wrote:
>>>>> Hi all,
>>>>>
>>>>>
>>>>> I have the imdb plugin activated. I can search for infos on imdb and
>>>>> some fxd files are created.
>>>>>
>>>>> My problem is that those informations are not displayed when the
>>>>> 'cursor'  is on the movie. The cover is shown but no info.
>>>>>
>>>>> I am wondering if it comes from the skins (I am using the default one) ...
>>>>>
>>>>> Am I right ? If yes which skin should I use  to display the infos ?
>>>>>
>>>>>
>>>>> Thanks for Freevo :)
> Did you run freevo cache, not that I think that this is a problem.
> 
> Can you check the contents of the fxd files that have been generated?
> 
> Duncan
>>>
- -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
>>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> ___
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>>
>>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGvNvVNi6l+Xvys44RApMAAKCYbPJdYoUsPLXc7EHx6uBYWdxNrACfavjO
C+yfRyZMyCy7u4dWryE5RgQ=
=mPXo
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] local_conf.py.example file - where's the latest?

2007-08-13 Thread Duncan Webb
Brian McKee wrote:
> Hi All
>   When I downloaded 1.7.3 I got local_conf.py version 5.17
> From freevo_config.py I see 5.20 is actually current.
> 
> Where do I get a copy?  Can I just copy freevo_config.py from line 312
> (General Freevo Settings) down and end up with the same thing?
> 
> The link in the wiki referring to the cvs version is broken, and a quick
> poke around didn't find it for me.

Sorry, that was my mistake I forgot to update the number.

The file is the latest version, see
http://freevo.sourceforge.net/cgi-bin/doc/QuickStartGuide as a guide if
you want to get started quickly.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Error running freevo cache

2007-08-13 Thread Duncan Webb
Brian McKee wrote:
> I get this error when I run freevo cache
> 
> Were is it saving this sqlite database?  
> 
> Or it this indicative of a different problem?
> 
> {snippage...}
> checking webserver thumbnails. 0 files
> creating audio metadata... done
> creating playlist metadata done
> checking database. 
>  Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line
> 579, in ? create_metadata()
> File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line
> 380, in create_metadata
> util.extendedmeta.addPathDB(dir[1], dir[0], verbose=False)
> File "/usr/lib/python2.4/site-packages/freevo/util/extendedmeta.py",
> line 94, in addPathDB
> db.runQuery(make_query(song,dirtitle))
> File "/usr/lib/python2.4/site-packages/freevo/util/dbutil.py", line 94,
> in runQuery
> self.cursor.execute(query)
> File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in
> execute  self.rs = self.con.db.execute(SQL)
> _sqlite.DatabaseError: attempt to write a readonly database

Do you have sqlite installed?

If so then maybe the owner is root and your running from a user with the
incorrect permissions. The database is in /freevo.sqlite,
where cachedir is /tmp/freevo or /var/cache/freevo

If not then it need to be installled, see:
http://freevo.sourceforge.net/cgi-bin/doc/SourceDependencies

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] have patch for fileinfo.rpy : adding support for multipart video files

2007-08-13 Thread Duncan Webb
wim delvaux wrote:
> HI all,
> 
> the 1.7.3 version of the webserver only provides support for the use of fxd
> by showing the content of the fxd (like year, description, etc).
> 
> However when a fxd contains  entries, the data is not used AND the 
> movie 
> does not play since the fxd does not match the parts to be played.
> 
> I have modified the fileinfo.rpy (first python trial so errors and clumsyness 
> included) so that whe the fxd shows MULTIPLE file entries (i.e. multipart 
> movie) it will generate a link to an m3u playlist file with the same basename 
> as the fxd. That m3u should contain the URL to the files to be played.
> 
> When playing the movie in this way vlc will automatically skip to the next 
> part once the previous is finished.
> 
> Modifications and inclusion in 1.7.x hoped for

Please submit this as a feature request at
http://sourceforge.net/tracker/?func=add&group_id=46652&atid=446898

Thanks
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Subtitle position

2007-08-13 Thread Duncan Webb
Frank [Antispam account] wrote:
> Hi,
> 
> Anyone got a hint on howto position the subtitles.
> I would like to move them up (about 25% of the screen)?

xine or mplayer?

With mplayer you can map an event to the sub_pos or set it in the
MPLAYER_DEFAULT_ARGS, here is how it can be done with the channel up and
down keys.

EVENTS['video']['CH+'] = Event(VIDEO_SEND_MPLAYER_CMD, arg = 'sub_pos -1')
EVENTS['video']['CH-'] = Event(VIDEO_SEND_MPLAYER_CMD, arg = 'sub_pos +1')

Don't know about xine, but may be it is in the manual

Duncan



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Directory as a playitem

2007-08-13 Thread Duncan Webb
Yomgui Gmail wrote:
> Hi,
> 
> I have followed the wiki chapter called "directory as a playitem"
> 
> of this page http://freevo.sourceforge.net/cgi-bin/doc/FXDFiles.
> 
> The fxd file is created and I named it the same as the directory but
> in the menu no infos or image is displayed when I am on the directory.

I haven't tried this myself so it was time to give it a try. I've
updated the wiki page with an example.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] struggling with PVR150 TV viewing

2007-08-13 Thread Duncan Webb
Petter Videbrink wrote:
> Hi Chris
> 
> I hade a similar problem, I think I accidentally deleted the row
> "group_type='ivtv'" in the VIDEO_GROUPS section in local_conf.py.
> After reparing that this is how it looks like in my local_conf.py.
> I can look at live TV and do timeshift.
> 
> VIDEO_GROUPS = [
>  # Use this group for watching tv
>  VideoGroup(vdev=TV_DEVICE,
> adev=AUDIO_DEVICE,
> input_type='tuner',
> tuner_norm=CONF.tv,
> tuner_chanlist=CONF.chanlist,
> desc='Watching Video Group',
> group_type='ivtv'),]
> #   record_group=1),
>  # Use this group for recording tv
> # VideoGroup(vdev='/dev/video1',
> #adev=AUDIO_DEVICE,
> #input_type='tuner',
> #tuner_norm=CONF.tv,
> #tuner_chanlist=CONF.chanlist,
> #desc='Recording Video Group',
> #record_group=None),
> # ]
> 
> Compared to yours my conf seem to have some more brackets "]" maybe you
> missed it when you copied it into the mail. Else this might help you

Most of this information comes from the v4l2-ctl command, depends a bit
on the version on the ivtv driver that you are using.

v4l2-ctl --all will give you this information.


The VIDEO_GROUPS is a list of video devices, hence the "[]"
Each VideoGroup represents a device and some of the information in each
group is not used, a bit of history.

Here is a quick explanation for a single video device.
VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',# This is the video device
vvbi = '/dev/vbi0',   # This is it's vbi device
adev='/dev/adsp', # Not normally used, can be None
input_type='tuner',   # tuner, composite, etc
input_num=0,  # input number normally zero
tuner_norm=CONF.tv,   # PAL, NTSC, etc
tuner_chanlist=CONF.chanlist, # Channel list name
desc='PVR-150 Video Group',   # Just a name for this device
group_type='ivtv',# Important for ivtv
),
]

Once this is set up correctly for you system then it should work.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] struggling with PVR150 TV viewing

2007-08-13 Thread Duncan Webb
> Thanks for all the help.  I was able to get viewing working with the
> following settings:
>
> VIDEO_GROUPS = [
> # Use this group for watching tv
>  VideoGroup(vdev='/dev/video0',
> adev=None,
> input_type='tuner',
> tuner_norm='NTSC',
> tuner_type='',
> tuner_chanlist='us-cable',
> desc='Watching Video Group',
> group_type='ivtv',
>   ),
> # Use this group for recording tv
> VideoGroup(vdev='/dev/video0',
> adev=None,
> input_type='tuner',
> tuner_norm='NTSC',
> tuner_chanlist='us_cable',
> desc='Comcast Cable',
> record_group='ivtv'),
> ]

This is not 100% correct, the record_group is a number which is used for
watching and recording at the same time, but you need two tuners for this.
The rule is one VideoGroup per tuner.

The first group does look fine.

> I'm still rather disappointed that I can't get anything to work with Xine,
> only Mplayer is working.  At least I have a functional system now which
> looks nice with my Lumenlab projector running a VGA connection.  Not HD,
> but
> looks good for std TV.  Again, thanks, for your patience and taking the
> time
> to help.
>
> I have Xine working for regular mpg playback which looks good, but calls
> from Freevo failed.  So, I still much tweaking and testing to do.  On to
> DVD
> burning for the next immediate challenge.

The first thing to do is check that all the XINE_TV_* settings are correct.

Try adding DEBUG=1 and CHILDAPP_DEBUG and LOGGING = logging.DEBUG to your
local_conf.py and check the log to see what freevo is trying to run when
using xine. It should be clear what the command line is and then you can
hopefully find the correct arguments and so the settings.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Start freevo twice with two xorg layouts

2007-08-15 Thread Duncan Webb
Thomas Fritzsch wrote:
> Hey everyone,
> 
> first, huge thanks to all developers for the nice software!
> 
> I use freevo on a selfmade HTPC with a touchscreen monitor (mouse 
> support, please ;-)) and

I wonder if it is possible to use the mouse with lircd configured with
the dev/input driver.

> a projector. In the past, xorg was configured for twinview on a NV
> quadro, so the monitor shows freevo and if I would use the projector I
> changed $DISPLAY for xine or mplayer.
> Now I bought a Matrox Quadro (four Devices) to run freevo on both screens:
> 
> - two users, "tft" and "bea"
> - xorg with two layouts
> - lirc setup only for tft
> - bea uses keyboard
> 
> If I start freevo for "tft" with "freevo -fs -layout tft -sharevts
> -novtswitch", everything is fine. But if "bea" comes with "freevo -fs
> -layout bea -sharevts -novtswitch", freevo comes up on the projector,
> but I cannot navigate anymore. For example, if tft plays music, the exit
> button stops playing, but freevo does not come back to the menu.

You could turn on debugging in the local_conf.py and see what events are
being send from the keyboard. There isn't another X server running at
the same time, is there?

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Error running freevo cache

2007-08-15 Thread Duncan Webb
Brian McKee wrote:
> On Mon, 2007-13-08 at 09:22 +0200, Duncan Webb wrote:
>> Brian McKee wrote:
>>> I get this error when I run freevo cache
>>>
>>> Were is it saving this sqlite database?  
>>>
>>> Or it this indicative of a different problem?
>>>
>>> {snippage...}
>>> checking webserver thumbnails. 0 files
>>> creating audio metadata... done
>>> creating playlist metadata done
>>> checking database. 
>>>  Traceback (most recent call last):
>>> File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line
>>> 579, in ? create_metadata()
>>> File "/usr/lib/python2.4/site-packages/freevo/helpers/cache.py", line
>>> 380, in create_metadata
>>> util.extendedmeta.addPathDB(dir[1], dir[0], verbose=False)
>>> File "/usr/lib/python2.4/site-packages/freevo/util/extendedmeta.py",
>>> line 94, in addPathDB
>>> db.runQuery(make_query(song,dirtitle))
>>> File "/usr/lib/python2.4/site-packages/freevo/util/dbutil.py", line 94,
>>> in runQuery
>>> self.cursor.execute(query)
>>> File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in
>>> execute  self.rs = self.con.db.execute(SQL)
>>> _sqlite.DatabaseError: attempt to write a readonly database
>> Do you have sqlite installed?
>>
>> If so then maybe the owner is root and your running from a user with the
>> incorrect permissions. The database is in /freevo.sqlite,
>> where cachedir is /tmp/freevo or /var/cache/freevo
>>
> 
> 
> Thanks Duncan
>   The owner was another user on the same box.  I just ended up
> deleting /var/cach/freevo and letting freevo rebuild it.
> 
>   I've run into a couple of problems with freevo that in retrospect were
> possibly similar issues around running freevo under multiple accounts.
> For now I'll avoid it.
> 
>   To me that's a bug - I made an entry on the sourceforge site under
> bugs  <http://sourceforge.net/tracker/?atid=446895&group_id=46652>
> referring to freevo cache but I'm not sure that's the only spot problems
> may occur.   Wasn't there discussion earlier about a problem that didn't
> show up when freevo was run as root?

As this question comes up quite a bit on the list, I have just added a
wiki page http://freevo.sourceforge.net/cgi-bin/doc/MultiUser which need
some more detailed instructions.

The cache is shared and so need shared permissions. To set up freevo as
a multi-user system you will need to do a bit of Linux system
administration. To set the users and permissions correctly. After all it
is Linux that is stopping the access of the files and not Freevo.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] After upgrade freevo 1.7.2 to 1.7.3 problem play audio files ( mp3 )

2007-08-15 Thread Duncan Webb
puhh wrote:

Try using plain text in your mailer and attaching the logs, attached
logs retain the layout.

Duncan

> I find this problem... After upgrade freevo 1.7.2 to 1.7.3 problem play
> audio files ( mp3 ) In 1.7.2 freevo play all music files OK. I compile
> my freevo system in Gentoo uClibc, almost work OK else cdbackup (
> cdbackup v.8761 work, but rip only wav and mp3 ), but freevo 1.7.3 now
> not play all music files, send error and freevo shutdown. I change local
> settings, localeI think problem in 1.7.3
> 
> Freevo 1.7.3 r9794 started at Mon Aug 13 17:26:28 2007
> 
> 2007-08-13 17:26:28,470 INFO config.py (544): Loading cfg overrides:
> /etc/freevo/local_conf.py Warning: freevo_config.py was changed, please
> check local_conf.py You are using version 5.17, changes since then:
> Version 5.18: Added tv.recodings_manager plug-in to show what has been
> watched, TVRM_*, Removed TV_RECORD_PADDING, use TV_RECORD_PADDING_PRE
> and TV_RECORD_PADDING_POST Version 5.19: Changed rss.feeds field
> separator to use a ';' instead of a ',' Changed weather locations to add
> a language code as the third parameter Moved video.reencode to
> video.reencode-old and video.reencode2 to video.reencode Added
> MAJOR_AUDIO_CTRL_MUTE to be able to choose a differente control for mute
> in the Alsa mixer plugin Changed default locale from latin-1 to
> iso-8859-15, they are really the same Added MPLAYER_OLDTVCHANNELCHANGE
> to allow the PREV_CH button to swap to previous channel Added
> RSS_DOWNLOAD for a place to save downloaded data Added IMAGE_EXCLUDE as
> a regular expression to exclude images such as thumbnails Added
> TV_RECORD_FAVORITE_MARGIN to allow favourites to be added to the
> schedule within a tolerance value Version 5.2: Added PERSONAL_WWW_PAGE
> config item to allow private web pages in the webserver Added LOGGING,
> can be one of CRITICAL, ERROR, WARNING, INFO, DEBUG or NOTSET Added
> RECORDSERVER_LOGGING to allow different levels of errors to be reported
> Changed VIDEO_INTERLACING to VIDEO_DEINTERLACE to be more consistent
> with autovars Added SENSORS_PLATFORM_PATH and SENSORS_I2CDEV_PATH for
> sensor paths Added OSD_SOUNDS_ENABLED defaulted to False for menu sounds
> Added SKIN_DEBUG to show boxes around each skin area for debugging skins
> Added IMAGEVIEWER_REVERSED_IMAGES for when the images are incorrectly
> rotated Added SHOPPINGCART_CLOBBER to allow a move to clobber an
> existing file Added XINE_BOOKMARK to enable the resume function to work
> with xine Added CACHE_CROPDETECT to enable caching of crop detection
> using encodingcode Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES:
> Auto-detected and added "('/mnt/cdrom', '/dev/cdrom', 'CD-1')"
> 2007-08-13 17:26:28,494 INFO new process watcher instance error opening
> file /var/cache/freevo/vfs/var/cache/freevo/mediainfo Error: can't
> detect last cache rebuild Please run 'freevo cache' PyLirc resumed!
> error opening file /var/cache/freevo/vfs/var/cache/freevo/skin-0
> 2007-08-13 17:26:29,318 WARNING osd.py (224): No alternate found in the
> alias list! 2007-08-13 17:26:29,318 WARNING osd.py (225): Falling back
> to default font, this may look very ugly 2007-08-13 17:26:29,329 WARNING
> osd.py (224): No alternate found in the alias list! 2007-08-13
> 17:26:29,329 WARNING osd.py (225): Falling back to default font, this
> may look very ugly 2007-08-13 17:26:29,332 WARNING osd.py (224): No
> alternate found in the alias list! 2007-08-13 17:26:29,332 WARNING
> osd.py (225): Falling back to default font, this may look very ugly
> Activated plugin video.details This plugin may cause some problems
> because it changes the item menu and not all parts of Freevo may like
> this. If Freevo crashes inside the item menu, please remove this plugin.
> failed to load plugin audio.playlist start 'freevo plugins -l' to get a
> list of plugins Traceback (most recent call last): File
> "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 564, in
> __load_plugin__ p = eval(object)(args) File
> "/usr/lib/python2.4/site-packages/freevo/audio/plugins/playlist.py",
> line 79, in __init__ os.mkdir(self.playlist_folder) OSError: [Errno 2]
> No such file or directory: '/mnt/MEDIA/SOUND/playlist/' plugin
> image.apod deactivated, reason: directory /mnt/MEDIA/PICTURES/apod does
> not exist. 2007-08-13 17:26:53,439 INFO No Type found by Extension.
> Trying all 2007-08-13 17:26:53,461 INFO Invalid header 2007-08-13
> 17:26:53,468 INFO trying mpeg-pes scan 2007-08-13 17:26:53,478 INFO No
> Type found by Extension. Trying all 2007-08-13 17:26:53,507 INFO Invalid
> header 2007-08-13 17:26:53,509 INFO trying mpeg-pes scan
> "/mnt/MEDIA/AUDIO_RIP" doesn't exist AUDIO EESTI AUDIO EESTI no event
> mapping for key SELECT in context audio send button event BUTTON
> arg=SELECT
> 

Re: [Freevo-users] rel-1 svn TV guide out by an hour

2007-08-15 Thread Duncan Webb
John Molohan schrieb:
> Hi,
> 
> I updated my rel-1 freevo from svn a couple of days ago after leaving it 
> a few weeks since the last update. My TV guide now shows everything an 
> hour ahead. Did anything change in freevo? I'm using tv_grab_uk_rt and 
> see a +0100 in the stop and start time and I don't know if that was 
> always there but I haven't updated any other packages, including xmltv, 
> the only upgrade was freevo.

>From the previous messages on the list this normally means that your
locale is incorrect.

BTW nothing changed in Freevo that would affect this.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


freevo-users@lists.sourceforge.net

2007-08-16 Thread Duncan Webb
Alberto Hernando schrieb:
> Hi.
> 
> A few monts ago, I started a discussion here about my moving to lfs from 
> debian for my box running freevo. It took me some time, but I've done less 
> work than I wanted.

[snip]

> What doesn't work:
> - LIRC. I compiled lircd and pylirc. When I start lircd 
> (lircd --driver=pinsys --device=/dev/ttyS0) like in debian, udev created the 
> devices, but it still doesn't work. irw doesn't show anything. In the past, I 
> had it working easily in an old lfs system.

Sure that you have the correct serial port. Normally it is possible to
cat /dev/ttyS0 | od -c and then you should see something on the console
as you press buttons. Could be a serial port speed/handshake setting.

> - Joystick support. This isn't related to freevo either. I have two cheap 
> gamepads that work well in the debian partition. Udev recognizes them and 
> create the devices too. They work but not as expected. I mean, it's like 
> pressing the wrong buttons. Sorry, I can explain it better. But I don't know 
> of any diagnosis tool for this, like we have irw for lirc.

There are some setting in local_conf.py for the joystick mainly the
device and the count that switches the state to an event.

> - Alsamixer. I asked about this some time ago, but I can't still make it 
> work. 
> It must be pretty simple (alsa works) but I haven't managed yet.

Did you install the pyalsa package from
http://code.google.com/p/python-alsaaudio/

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.7.3 crashing

2007-08-20 Thread Duncan Webb
Jaap Struyk wrote:
> Hello,
> 
> I thought I had my freevo crashes under control by adding the pylirc
> package but my daughter managed to make it crash again.

I don't see how pylirc would have stopped the crashes when you are using
the event interface and was a bit surprised that this reduced the
occurrence of a crash.

> Crashes happen when a remote key (via linux input device layer) is
> pressed that isn't used in that part of freevo.
> So I added debugging to my config and pressed some unused buttons when
> playing a movie, unfortunately nothing happened... the movie kept on
> running but didn't respond any more to my remote, after pressing more
> buttons freevo finally crashed. (I had to do my best)
> 
> In 1.7.2 pressing just one wrong button made freevo crash so there has
> something changed, I have to do my best to make it crash unfortunately I
> can't tell what action make it crash.
> I can live with it, but have to be careful not to touch wrong buttons
> so it is a bit annoying.

Rather than use the event interface, why don't you use the lirc
interface, it is much better tested. You need to use the dev/input
driver for lircd.

I don't really see how to reproduce this error from the crash report. It
may be that the event interface is sending too many events too quickly
and the code does not have enough critical sections to prevent reentry.

There is a similar problem with the screensaver, which I may have fixed.

> 2007-08-19 10:13:45,440 DEBUGchildapp.py (163): sending
> "osd_show_text "Volume: 80%"" to pid 4089
> 2007-08-19 10:13:45,828 CRITICAL main.py (484): Crash!
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 472, in
> 
> MainTread().run()
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 325, in run
> self.eventhandler(rc.get_event(True))
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 275, in
> eventhandler
> if not rc.app()(event):
>   File
> "/usr/lib/python2.5/site-packages/freevo/video/plugins/mplayer.py", line
> 426, in eventhandler
> return self.item.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/video/videoitem.py",
> line 652, in eventhandler
> if self.plugin_eventhandler(event, menuw):
>   File "/usr/lib/python2.5/site-packages/freevo/item.py", line 438, in
> plugin_eventhandler
> if e(self, event, menuw):
>   File
> "/usr/lib/python2.5/site-packages/freevo/video/plugins/bookmarker.py",
> line 171, in eventhandler
> videoplayer = self.item.player.name
> AttributeError: PluginInterface instance has no attribute 'item'
> Stopping webserver plugin.
> Stopping webserver plugin.
> Stopping webserver plugin.
> 2007-08-19 10:13:52,652 DEBUGchildapp.py (238): killing pid 4089
> signal 15
> 2007-08-19 10:13:52,653 DEBUGchildapp.py (244): Before wait(4089)
> 2007-08-19 10:13:52,675 DEBUGchildapp.py (428): stderr: no data,
> closing log
> 2007-08-19 10:13:52,676 DEBUGchildapp.py (428): stdout: no data,
> closing log
> 2007-08-19 10:13:52,751 DEBUGchildapp.py (260): childapp: After wait()
> 2007-08-19 10:13:53,251 DEBUGchildapp.py (276): Oops, command
> refuses to die, try bad hack
> 2007-08-19 10:13:55,252 DEBUGchildapp.py (285): Try harder to kill
> the app
> 2007-08-19 10:13:57,253 ERRORchildapp.py (292): PANIC can't kill program
> 
> Freevo 1.7.3 r9794 finished at Sun Aug 19 10:12:39 2007
> 
> Another strange thing is that when I close freevo with "freevo stop"
> there is always one process that keeps running, the bottom of the log
> shows that freevo is trying to but doesn't succeed.

It's not a problem, just that the sub-process has already died but
freevo thinks it is still running and it trying to kill it. This only
seems to happen after a crash.

> I rebuild python and ran a make test but all tests ran cleanly so it
> seems that python is working properly, does anyone have some info on how
> to stress-test freevo to find out what is causing this unexpected behaviour?

Sorry this is not that helpful but I'll see it I can set up the event
interface sometime for my remote.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] image viewer screensaver

2007-08-23 Thread Duncan Webb
Stéphane ANCELOT wrote:
> Hi,
> How can I call the image viewer from a screensaver plugin ?

You need to do two things, write a slide show fxd file, like:



  
/freevo/images/1/DSC01140.jpg


  /freevo/images



  A screensaver slide show

  


Note I've disabled sound as it will crash freevo.
And then activate the plug-in like:

plugin.activate('freevoscreensaver', \
args=('fxd','/var/lib/freevo/saver.fxd','image',))

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with IMAGE_EXCLUDE

2007-08-23 Thread Duncan Webb
Dan Mancini wrote:
> Hi,
> I have a problem with the IMAGE_EXCLUDE statement.  I have "tn" folders
> in my picture directories, and when I use this statement:
> 
> IMAGE_EXCLUDE = [('tn')]
> 
> The images in the directory are excluded, however the directory itself
> still shows up in the menu.  How can I exclude the directory?

IIRC you can hide it with a . i.e.: .hidden_images
or move the directory somewhere else.

> Is there a list of arguments for the IMAGE_EXCLUDE statement?

It is a list of tuples that contain regular expressions. The [] mean
that the variable is a list and the () mean that each item in the list
is a tuple (a sort of fixed string).

IMAGE_EXCLUDE = [('tn'), ('regexp'), ('DSC.*[0-9]')]

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] EPG broadcast support in WinPVR 1/2/350 cards

2007-08-23 Thread Duncan Webb
Evan Hisey wrote:
> Has anyone tried to get EPG data off the cable feed using the Hauppage
> card tuners? I seems to remember seeing that it could be done
> somewhere but forget where.

Works a treat but I suspect that British broadcasters do not transmit
teletext EPG data streams.

The program that grabs the data is nexTView EPG
http://nxtvepg.sourceforge.net/

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] crash with mame cache

2007-08-23 Thread Duncan Webb
alberto hernando wrote:
> Hi.
> 
> I'm trying to run freevo-1.7.3. I have a crash with mame, while
> generating the cache. In /tmp/freevo/main-1001.log I get this:
> 
> Call MAME command : /home/freevo/bin/mame
> updating via listxml
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in
> eventhandler
> app.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 680, in
> eventhandler
> action( arg=arg, menuw=self )
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 480,
> in cwd
> self.check_password_and_build(arg=None, menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 535,
> in check_password_and_build
> self.build(arg=arg, menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 642,
> in build
> for i in p.get(self, files):
>   File "/usr/lib/python2.5/site-packages/freevo/games/__init__.py", line
> 86, in get
> (rm_files, mame_list) = mame_cache.getMameItemInfoList(mame_files, cmd)
>   File "/usr/lib/python2.5/site-packages/freevo/games/mame_cache.py",
> line 306, in getMameItemInfoList
> mame_ok = updateMameRomList(mame_cmd)
>   File "/usr/lib/python2.5/site-packages/freevo/games/mame_cache.py",
> line 283, in updateMameRomList
> mameRomList = mameRomListFromListxml( mame_cmd )
>   File "/usr/lib/python2.5/site-packages/freevo/games/mame_cache.py",
> line 212, in mameRomListFromListxml
> parser.parse( listinfo )
>   File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> line 109, in parse
> xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py",
> line 125, in parse
> self.close()
>   File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> line 226, in close
> self.feed("", isFinal = 1)
>   File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
> line 220, in feed
> self._err_handler.fatalError(exc)
>   File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line
> 38, in fatalError
> raise exception
> SAXParseException: cat /tmp/roms:1:0: no element found

What does /tmp/roms contain, reasonable data or junk?

> The same roms don't generate any error in freevo 1.6.2. Any idea? I have
> no clue about this log.

Not a big games player but I do have a couple of roms and it doesn't
crash when entering a mame menu, Have you run out of disk space in /tmp
or is the /tmp/roms not readable?

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] EPG broadcast support in WinPVR 1/2/350 cards

2007-08-23 Thread Duncan Webb
Evan Hisey wrote:
> On 8/23/07, Duncan Webb <[EMAIL PROTECTED]> wrote:
> 
>> Works a treat but I suspect that British broadcasters do not transmit
>> teletext EPG data streams.
>>
>> The program that grabs the data is nexTView EPG
>> http://nxtvepg.sourceforge.net/
>>
>> Duncan
> 
>   Anything that works in North America, hopefully with Comcast
> service. when it comes to TV I often wish I was getting BBC feeds:)

Does NTSC have teletext, I thought that it has a completely different
system, closed-captions or something like that? I would be interest to know.

Data that can be sent in the vertical blanking interval (vbi) can be in
any format, teletext can contain data streams that can contain anything,
for example MTV has an encrypted data stream in their teletext data.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] crash with mame cache

2007-08-26 Thread Duncan Webb
Alberto Hernando wrote:
> El Thursday 23 August 2007 19:49:51 Duncan Webb escribió:
>> What does /tmp/roms contain, reasonable data or junk?
>>
>>> The same roms don't generate any error in freevo 1.6.2. Any idea? I have
>>> no clue about this log.
>> Not a big games player but I do have a couple of roms and it doesn't
>> crash when entering a mame menu, Have you run out of disk space in /tmp
>> or is the /tmp/roms not readable?
> 
> Hi.
> 
> I've found what happened... more or less.
> 
> First, the freevo user has full access to /tmp, but /tmp/roms simply never 
> exists. And /tmp is never full either.
> Second, I don't start mame with /usr/bin/xmame.x11 or similar. I have my own 
> script to call it, located in /home/freevo/bin/mame. Inside I call xmame.x11, 
> of course, but I do it like this so that I can add more options, and other 
> things I need to do before and after playing a game. It's the same that I 
> have in freevo-1.6.2 with no problem.
> What happens then? As I said, I have two freevo in the same box. At first, I 
> was sharing the cache. But every time I boot one after the other, the cache 
> was recreated. I guess the system must be different. So I decided to use 
> different cache directories. And then mame started crashing. The first time 
> mame is run, it creates a cache, not of the roms you have, but the ones it 
> can use. Under freevo-1.6.2 and the script, there is no problem, the cache 
> can be built. But under 1.7.3, it crashes. If  I use the same cache directory 
> for both freevos, no problem, the mame cache from 1.6.2 works for 1.7.2 and 
> mame runs. So 1.7.2 can run mame with my script, but can't build the cache. I 
> thing it has do with something about that freevo can't find the config files 
> of my script (there aren't!) and that's why it crashes.
> If you thing this is a serious bug, I can reproduce it whenever I want and I 
> can give you more info, if you need it.

I'm not really sure exactly what the problem is but I think that
/tmp/roms is hard-coded into freevo so if you have moved it I would
expect a crash.

The contents of /tmp/roms is created by xmame with xmame.xll -listxml
-out /tmp/roms.

Actually nothing has changed in the xmame code for a very long time.

This doesn't help solve your problem much but try executing:
/path/to/your/script -listxml -out /tmp/roms
and see if /tmp/roms is created correctly.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] weather, work only USA

2007-08-26 Thread Duncan Webb
John Molohan wrote:
> puhh wrote:
>> Who say, it is bug in www? In USA citycode it work, but other..in 
>> file weather data: this.swCity = "Wrong Citycode", I think weather not 
>> find city code.
>> Freevo 1.7.3
>> Raivo.
>>
>>
> I haven't looked into it but I can confirm I see the same behaviour.

Looks like the http://www.tpfans.com/ site is down. Either we need to
find another site for the weather information or wait to see it the site
comes back again.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Handle RVA tag in mp3 files

2007-08-29 Thread Duncan Webb
> On Wednesday 29 August 2007, Shane wrote:
>>  Hello,
>>
>>  I've tagged my entire music library with id3
>>  replaygain-album and replaygain-track tags which work well
>>  with mpg123 --rva-album and mpd but since Freevo 1.7 is
>>  using mplayer for mp3 playback, the volume between
>>  different albums is often different by a good bit.  I'm
>>  wondering if there is a way to have freevo execute a
>>  different binary for mp3 files as opposed to other audio
>>  types.  That way I could write a mplayer wrapper to extract
>>  the id3 tags and append the appropriate -af volume setting
>>  to mplayer.
>>
>>  Tia,
>>  Shane
>
> There?s already support for xmms... could it solve your problem?

There is also http://mp3gain.sourceforge.net/ and I think that
http://normalize.nongnu.org/ can also normalize the volume levels.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FREEVO not quoting or escaping whitespaces in file names in mplayer command

2007-09-01 Thread Duncan Webb
Lucian Muresan wrote:
> Hi,
> 
> Faser wrote:
>> Hi Duncan,
>>
>> thanks for the help. Actually it seems only to happen if I start "freevo 
>> -trace". If I just start freevo everything plays fine, but using "freevo 
>> -trace" he is jumping through my MP3's.
>> But nothing realy major.
>>
>> Cheers
>>
>> Fred
>>
>>
>> Duncan Webb wrote:
>>> Faser wrote:
>>>   
>>>> Hi All,
>>>>
>>>> somehow I have a problem that freevo is not quoting the filenames in the 
>>>> mplayer command and therefore I can not play my MP3 files.
>>>> It seems problem exists since I upgraded to 1.71.
>>>> childapp.py (139): ChildApp.__init__(), pid=4528, 
>>>> app="/usr/bin/mplayer-bin -slave -autosync 100 -nolirc -nojoystick 
>>>> -autoq 100 -screenw 1024 -screenh 768 -fs -vo null -ao alsa -demuxer 17 
>>>> /data/media/audio/Artists/A/A-ha/A-ha - Take On Me.mp3", poll=256
>>>> 
>>> May be ChildApp has not printed the arguments because they should be
>>> passed as a list of argument strings and not a single string.
>>>
>>> This means that mplayer is run directly and not through the shell.
>>>
>>> Maybe someone else has the same problem, but a quick test on file names
>>> with spaces works just fine.
>>>
>>> Duncan
> 
> Same problem here, with freevo-1.7.3 and fbxine as the player.
> I'm basically no longer able to use freevo for the main purpose I
> installed it, listening to music in the living room as on a normal
> player (don't have any other in the house) via remote control, with or
> without the TV on (as I have a LCDproc display)

Hi Lucian,

Can you provide an example, as it "works for me" with or without spaces
in the file names. But I tend to use mplayer for audio playing. Maybe
you should include the relevant sections of your local_conf.py and
freevo.conf

It could be a problem with the xine audio player plug-in, so I need to
test it running it the same way as you do.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] update question

2007-09-02 Thread Duncan Webb
Ljubomir Simin wrote:
> Hi,
> 
> I have installed Freevo 1.7.1 from source following this guide [1].
> How do I update it? I see no uninstall option in setup.py. Should I
> just unpack the sources to other place and install them with the same
> prefix?
> Should I backup any files besides local conf?
> Is downgrade possible?
> 
> Thanks in advance!
> 
> [1] http://freevo.sourceforge.net/cgi-bin/doc/SourceInstallation

You just install another version over the last one.

If you have any problems find the site-packages/freevo directory and
remove it.

The only file that needs backing up is local_conf.py.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] FREEVO not quoting or escaping whitespaces in file names in mplayer command

2007-09-02 Thread Duncan Webb
Lucian Muresan wrote:
> Duncan Webb wrote:
>> Lucian Muresan wrote:
> [...]
>>> Same problem here, with freevo-1.7.3 and fbxine as the player.
>>> I'm basically no longer able to use freevo for the main purpose I
>>> installed it, listening to music in the living room as on a normal
>>> player (don't have any other in the house) via remote control, with or
>>> without the TV on (as I have a LCDproc display)
>> Hi Lucian,
>>
>> Can you provide an example, as it "works for me" with or without spaces
>> in the file names. But I tend to use mplayer for audio playing. Maybe
>> you should include the relevant sections of your local_conf.py and
>> freevo.conf
>>
>> It could be a problem with the xine audio player plug-in, so I need to
>> test it running it the same way as you do.
> 
> 
> Hi Duncan,
> 
> you know what? I re-emerged Freevo-1.7.3 and now part of this problem
> has gone. I can't explain how, but it must have been a mixup of messed
> up settings in my local_conf.py (btw, it's really hard to keep that file
> consistent). Since I did not use Freevo for some time and now I'm trying
> to get the most of it again, I stumbled across other problems I'll
> report in new threads.

I was having a problem reproducing the problem added a print to see what
was being called:
command=['/usr/bin/fbxine', '-V', 'none', '-A', 'alsa', '--stdctl',
'--no-lirc', 'file:///freevo/music/The Stranglers/Greatest Hits
1977-1990/15 - No Mercy.flac'] ()

So I'm glad is has gone.

Mind, I'm a bit puzzled by -trace not working as this is a Python option
rather than a freevo one.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Install 1.7.3, but leave 1.7.2 intact

2007-09-02 Thread Duncan Webb
Bill Burroughs wrote:
> Hi all,
> 
> When 1.7.3 came out, I read an article about installing it without 
> overwriting 1.7.2 - or at least some way to back up 1.7.2 so that it could be 
> easily restored.  I can't find that article now, and want to do just that.  I 
> use my Freevo box every day, as does my girlfriend, and I don't want to have 
> to spend a load of time fixing it if my upgrade goes awry.
> 
> Can someone point me in the direction of the article I originally read, or 
> give some brief instructions on it.
> 
> My platform is Xubuntu 6.10 - I installed some bits via apt, and other bits 
> manually.  My box is a dedicated freevo system - I'll probably do a full wipe 
> and reinstall of it when Ubuntu 7.10 comes out, and I'm hoping freevo will 
> just be a simple apt-get and all the kaa stuff will just install itself by 
> then...may already for all I know.
> 
> Keep up all the great work guys/gals - my $150 media centre beats every $1000 
> XP MCE hands down!  Especially being able to play lemmings or puzzle 
> bobble/bust-a-move while listening to music!


I think that you want:
http://freevo.sourceforge.net/cgi-bin/doc/SourceSVNInstallation

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] geekbox theme

2007-09-02 Thread Duncan Webb
Ljubomir Simin wrote:
> Hi,
> 
> I've seen on the main page that gexxbox uses gorgeous black theme. Is
> it available somewhere for download? How about other themes? Are we
> limited to what is installed by default? (besides making our own ones,
> of course :))

I hadn't committed it to svn as it's not working 100%, so just for you
it is now in svn so you can download it from the repository.

Here are instructions on how to install it from svn:
http://freevo.sourceforge.net/cgi-bin/doc/SourceSVNInstallation

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] data cd/dvd

2007-09-02 Thread Duncan Webb
Ljubomir Simin wrote:
> Hi!
> 
> My video DVDs are detected and played properly, as well as audio CDs.
> I would however like to be able to browse data CDs and DVDs in video
> and music browsers, the same way I'm browsing local files. It's
> possible to achive with automounter and a symlink to /media/cdrom, but
> I would like to do it I a proper freevo way. However whenever I insert
> data disc, CD icon keeps being grayed out. Where should I start
> debugging the problem?

I'm not sure that this is working but it should work with the
ROM_DRIVES, eg:
ROM_DRIVES = [
  ('/mnt/dvd', '/dev/hdc', 'DVD'),
  ('/mnt/dvdram', '/dev/hdd', 'DVD-RAM')
]

May be some can confirm if this is working or not.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] fbxine AC3 passthrough

2007-09-02 Thread Duncan Webb
Lucian Muresan wrote:
> Hello again,
> 
> I noticed that I can no longer get fbxine to play DVDs or AVI's
> containing DD audio (which I obviously want passed through to my
> surround receiver) when launched from Freevo.
> When trying this, I can see the video on my TV for some seconds (I guess
> less than 10), but there is no audio.
> When trying to launch the particular AVI with the *exact same* command
> line reported in */var/log/freevo/main-0.log*, outside Freevo, in a SSH
> console, the movie plays audio decoded in my external DD-receiver, and
> doesn't stop by itself. The command is:
> 
> fbxine --stdctl -V DirectFB -A alsa --no-lirc
> --post='pp:quality=10;expand'
> 'file:///mnt/other/MediaPool/Media/Video/Movies/Anger Management (2003)
> - Divx5.05 - DD5.1 - CD1.avi'
> 
> When playing other AVI's, without DD or dts tracks, which have to be
> decoded by fbxine and then passed as PCM to the S/P-DIF, they also play
> fine even launched from Freevo.
> 
> Unfortunately, I can't find any relevant logging. Anyone can confirm?

In local_conf.py make sure that these are set:
DEBUG = 1
CHILDAPP_DEBUG = 1
LOGGING = logging.DEBUG
then the output should be logged in main-0.log.

I don't know what the correct fbxine argument for audio pass-through is
may be someone can enlighten me :) so I can check.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] webserver tv guide in freevo 1.7.3 does not work

2007-09-02 Thread Duncan Webb
Jody Gugelhupf wrote:
> hi ppl :)
> i run ubuntu feisty, there was an updated package of freevo lately, i got now 
> 1.7.3 everything is
> workign fine, except the tvguide, when i click on it, i get this:
> 
> web.Server Traceback (most recent call last):
> 
> : 'utf8' codec can't decode bytes in 
> position 42-44: invalid
> data
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 160 in process
> 158try:
> 159  resrc = self.site.getResourceFor(self)
> 160  self.render(resrc)
> 161except:
> Self
> site  
> twisted.web.server.Site instance @ 0x857542c  instance at 0x857542c>
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> self  
> twisted.web.server.Request instance @ 0x92ea3ec 
> /usr/lib/python2.5/site-packages/twisted/web/server.py, line 167 in render
> 165  def render(self, resrc):
> 166try:
> 167  body = resrc.render(self)
> 168except UnsupportedMethod, e:
> Locals
> resrc 
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> self  
> twisted.web.server.Request instance @ 0x92ea3ec 
> Globals
> UnsupportedMethod 
> /usr/lib/python2.5/site-packages/freevo/www/web_types.py, line 100 in render
> 98  # thus we return the self._render methode
> 99  # which hopefully will do something usefull
> 100  return self._render(request)
> 101
> Locals
> self  
> __builtin__.GuideResource instance @ 0x92c792c <__builtin__.GuideResource 
> instance at 0x92c792c>
> request   
> twisted.web.server.Request instance @ 0x92ea3ec 
> /usr/share/freevo/htdocs/guide.rpy, line 247 in _render
> 245
> 246  rowdata.append("")
> 247  fv.res += string.join(rowdata, "\n")
> 248fv.tableClose()
> Locals
> rowdata   
> List instance @ 0x92eaccc
> ""
> "E\xe9n"
> ''
> fv
> www.web_types.HTMLResource instance @ 0x92c702c  instance at 0x92c702c>
> Globals
> string
> 
> : 'utf8' codec can't decode bytes in 
> position 42-44: invalid
> data
> 
> someone has an idea how to fix it? thx in advance :)
> katie-J. :)


A Unicode translation problem, how have you set up your channels in
local_conf.py?

This works for me:
TV_CHANNELS = [
('CNI04C1', u'SF1',  'K05', '', '0', '777'),
('CNI04C7', u'SFzwei',   'K10', '', '0', '777'),
('CNI04CC', u'SFinfo',   'K35', '', '0', '777'),
('CNI0497', u'3plus','S15', '', '0', '777'),
('CNI0DC1', u'ARD',  'K09', '', '0', '777'),
('CNI0DC2', u'ZDF',  'K11', '', '0', '777'),
('CNI0DC7', u'3sat', 'S10', '', '0', '777'),
('CNI0D85', u'arte', 'K21', '', '0', '777'),
('CNI0DC9', u'KiKa', 'K21', '', '0', '777'),
('CNI0DCB', u'Bayern 3', 'K29', '', '0', '150'),
('CNI0DE0', u'Südwest Fernsehen BW', 'S14', '', '0', '777'),
('CNI1DE6', u'WDR',  'S31', '', '0', '150'),
('CNI0D8D', u'DSF',  'K24', '', '0', '777'),
...
]

The last two columns you won't need. But the important thing is the
unicode 'u' before the name.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Starting recordserver crashed

2007-09-04 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian wrote:
> I'm trying to start the freevo recordserver on my Ubuntu-server
> (feisty). But
> when I try I get the following error:
> 
> freevo recordserver start
> 
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.5/site-packages/freevo/helpers/recordserver.py", line
> 56, in 
> from twisted.internet.app import Application
> ImportError: No module named app
> 
> 
> Freevo is installed from the "ubuntu-packages" on a server that has no
> display. Could someone help me please.

Make sure that you install Twisted-2.4 (Twisted-2.5 is the default with
some distros)

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3ZrxNi6l+Xvys44RAgl1AKCONKPi+SY4I0NnLbBYN5B8RKAKKACeOlcI
DbV3eNf9m155KSuCFx0AkFM=
=cAeR
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] shuttle

2007-09-04 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Lyra wrote:
> Hi there,
> 
> Now I'm a (not so) happy owner of a SG33G5M shuttle case. I was
> wondering if anyone has the so called setvfd python script that was
> supposed to be found here http://jeremy.infogami.com/SetVFD.
> 
> I'm trying to get a working system with remote/vfd and all the rest.
> Just to the record, dont know others, but my case/mobo has a
> decorative IDE interface... I hope that find a dvd sata drive was not
> so difficult nowdays.

version 2 is a hack of the original, I was seeing if it was possible to
have other codes. I found one useful one and that was dimming the display.

Use the plug-in vfd to drive the display from freevo.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3aGDNi6l+Xvys44RAtw+AJ9UBFZiZPj37pNp8CiIsoruImHsxgCfUpdC
XO9KuiWgae4AvS6uFcf85uE=
=sGuB
-END PGP SIGNATURE-
#!/usr/bin/python

# Update a Shuttle's VFD display
# Jeremy James (jeremy  durge.org) - June 2006
#
# Requires python-usb (http://pyusb.berlios.de/)
#
# The Cypress CY7C63723C chip has three endpoints - we use EP1 to write to the 
VFD control chip
#
# Messages passed to PT6314 are 8 bytes at a time
#  4 bits Message Type
# Currently Known Types:
#   0x1  Clear (Data of 0x1 for full clear or 0x2 to just reset the text 
cursor)
#   0x3  Display Clock (Data of 0x3)
#   0x7  Display Icons (Data Icons to display with a byte storing 5 bit 
flags)
#   0x9  Display Text (Data is ASCII text to display, starting from current 
cursor position)
#   0xd  Set Clock (Data is in zero-padded hex as 
)
#  4 bits Message Length (0-7)
#  7 Bytes Data (Unused bytes filled with zeros)
#
# History:
# 12/Jun/06  1.0  Initial Version
# 16/Jun/06  1.1  Added claiming of interface correctly

import time
import usb
import sys

# Device Constants
vendorID = 1308# Shuttle Inc
productID = 0003   # VFD Module
maxStringLength = 20

# Program Constants
sleepLength = 0.01  # Time to wait between sending messages
debug = 0

def getVFDDevice():
"Return the VFD device"

for bus in usb.busses():
for dev in bus.devices:
if dev.idVendor == vendorID and dev.idProduct == productID:
if debug:
print >>sys.stderr,"Found VFD on bus %s at device 
%s"%(bus.dirname,dev.filename)
return dev.open()

print >>sys.stderr,"Error! Device not found!"
raise SystemExit,2

def sendData(dev,data):
"Send a piece of data to specified VFD device, retrying if necessary"
attempts = 3
while attempts > 0:
try:
if debug:
print "Sending data %r"%(data,)
dev.controlMsg(0x21,   # Message to Class Interface
   0x09,
   data,
   0x0200,
   0x0001) # Endpoint 1
return
except Exception,e:
attempts -= 1
if debug:
print "Failed to send. Retrying..."
time.sleep(sleepLength)

raise e

def msg(msgtype, *msgdata):
assert msgtype >= 0 and msgtype <= 0xf
assert len(msgdata) <= 7

retval = chr((msgtype<<4)+len(msgdata))
if len(msgdata) == 1 and type(msgdata[0]) == str:
retval += msgdata[0]+"\x00"*(7-len(msgdata[0]))
else:
retval += "".join([type(x) == int and chr(x) or x for x in msgdata])
retval += "\x00"*(7-len(msgdata))
return retval

def clear(dev):
"Clear the display"
sendData(dev,msg(1,1))

def reset(dev):
"Reset the cursor position"
sendData(dev,msg(1,2))

def split(s, length, maxlength):
"Split a string into chunks, but no longer than maxlength"
if len(s) > maxlength:
print >>sys.stderr,"Warning! Truncating string longer than %d 
characters"%(maxlength,)
s = s[:maxlength]
s = s.center(maxlength)
out = []
for x in range(0,len(s),length):
out.append(s[x:x+length])
return out

def message(dev,msgstring,cls=1):
"Update the display with a string, specifying if it should be cleared first"

msgparts = split(msgstring, 7, maxStringLength)

if cls:
clear(dev)
else:
reset(dev)

for part in msgparts:
sendData(dev,msg(9,*part))

def clock(dev,settime=None):
"Show the clock, setting the time as necessary"
if not settime:
settime = time.localtime()


sendData(dev,msg(0xd,time.strftime("%S%M%H0%w%d%m%y",settime).decode("hex")))
sendData(dev,msg(3,3))

def volume(dev,level):
"Update the volume"
sendData(dev,msg(7,level))

def splitbitmask(s, length):
"Split the bitmask into chunks"
out = []
for x in range(len(s)-length,-1,-length):
out.append(s[x:x+length])
return out

def icons(dev,bitmask):
"Update icons to be shown"
bitmask = bitmask.replace(" ","")
asse

Re: [Freevo-users] fbxine AC3 passthrough

2007-09-04 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lucian Muresan wrote:
> Duncan Webb wrote:
>> Lucian Muresan wrote:
>>> Hello again,
>>>
>>> I noticed that I can no longer get fbxine to play DVDs or AVI's
>>> containing DD audio (which I obviously want passed through to my
>>> surround receiver) when launched from Freevo.
>>> When trying this, I can see the video on my TV for some seconds (I guess
>>> less than 10), but there is no audio.
>>> When trying to launch the particular AVI with the *exact same* command
>>> line reported in */var/log/freevo/main-0.log*, outside Freevo, in a SSH
>>> console, the movie plays audio decoded in my external DD-receiver, and
>>> doesn't stop by itself. The command is:
>>>
>>> fbxine --stdctl -V DirectFB -A alsa --no-lirc
>>> --post='pp:quality=10;expand'
>>> 'file:///mnt/other/MediaPool/Media/Video/Movies/Anger Management (2003)
>>> - Divx5.05 - DD5.1 - CD1.avi'
>>>
>>> When playing other AVI's, without DD or dts tracks, which have to be
>>> decoded by fbxine and then passed as PCM to the S/P-DIF, they also play
>>> fine even launched from Freevo.
>>>
>>> Unfortunately, I can't find any relevant logging. Anyone can confirm?
>> In local_conf.py make sure that these are set:
>> DEBUG = 1
>> CHILDAPP_DEBUG = 1
>> LOGGING = logging.DEBUG
>> then the output should be logged in main-0.log.
>
> Thanks, I'm using those all the time, but in this case, the log is
> looking the same, for media containing DD or just PCM/MPEG audio.
>
>> I don't know what the correct fbxine argument for audio pass-through is
>> may be someone can enlighten me :) so I can check.
>
> Alright, there isn't a switch, but config file settings. If otherwise
> your S/P-DIF output routes at least PCM to your external amp, then make
> sure your ~/.xine/config file contains the following settings for pass
> through mode:
>
> # device used for 5.1-channel output
> # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
> audio.device.alsa_passthrough_device:iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
>
> # speaker arrangement
> # { Mono 1.0 Stereo 2.0 Headphones 2.0 Stereo 2.1 Surround 3.0
> # Surround 4.0 Surround 4.1 Surround 5.0 Surround 5.1 Surround 6.0
> # Surround 6.1 Surround 7.1 Pass Through }, default: 1
> audio.output.speaker_arrangement:Pass Through
>
> I think I had to adapt the device setting for my card (don't remember
> how long I did that and where to get the information from, but the
> default is said to work for most cards.

Thanks, I had to something similar at one time with my AMD64 machine
MPLAYER_AO_DEV = 'alsa:device=hw=0.0'
but in later drivers I found a hidden, in the GUI setting, IIRC it was
IEC958 Playback AC97-SPSA which need to be changed.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG3aO+Ni6l+Xvys44RAjamAJ4wAOjgQAyYxga1Oyx66EVg9LEfmACgm0D4
SeXIHp8bZSQAUtHHjOQ+Kl0=
=qRTf
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] tv tuner card suggestions?

2007-09-04 Thread Duncan Webb
Jody Gugelhupf wrote:
> can anybody tell me about their experiences using the WinTV PVR-500 with 
> linux and/or freevo
> please? thx

The driver is ivtv and is in the kernel since 2.6.22, it works well.

Freevo-1 can't record two programmes simultaneously yet but you can
watch a channel and record at the same time.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] data cd/dvd

2007-09-04 Thread Duncan Webb
Ljubomir Simin wrote:
> On Sunday 02 September 2007 19:44, Duncan Webb wrote:
>> Ljubomir Simin wrote:
>>> Hi!
>>>
>>> My video DVDs are detected and played properly, as well as audio CDs.
>>> I would however like to be able to browse data CDs and DVDs in video
>>> and music browsers, the same way I'm browsing local files. It's
>>> possible to achive with automounter and a symlink to /media/cdrom, but
>>> I would like to do it I a proper freevo way. However whenever I insert
>>> data disc, CD icon keeps being grayed out. Where should I start
>>> debugging the problem?
>> I'm not sure that this is working but it should work with the
>> ROM_DRIVES, eg:
>> ROM_DRIVES = [
>>   ('/mnt/dvd', '/dev/hdc', 'DVD'),
>>   ('/mnt/dvdram', '/dev/hdd', 'DVD-RAM')
>> ]
>>
>> May be some can confirm if this is working or not.
>>
>> Duncan
>>
>>
> 
> I have to eat my words. After upgradiing to 1.7.3 it works. Kinda.
> 
> I have this in my local_config.py:
> ROM_DRIVES = [ ('/cdrom', '/dev/scd0', 'DVD') ]
> 
> This is fstab:
> /dev/scd0   /media/cdrom0   udf,iso9660 user,noauto 0   0

Instead of udf,iso9660 does auto work?

> /cdrom is a softlink to /media/cdrom0
> 
> It works with some disks. But not with all. I've just inserted CD with mp3s, 
> and got "PLUGIN_EVENT IDENTIFY_MEDIA crashed"

You can try this patch, it should stop this crash.

svn diff src/audio/plugins/mplayer.py
Index: src/audio/plugins/mplayer.py
===
--- src/audio/plugins/mplayer.py(revision 9858)
+++ src/audio/plugins/mplayer.py(working copy)
@@ -170,7 +170,8 @@
 """
 Stop mplayer
 """
-self.app.stop('quit\n')
+if self.app:
+self.app.stop('quit\n')

 for p in self.plugins:
 command = p.stop()

> Here's the logfile:
> 
> file:///cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian 
> Phenomemon.mp3
> not found!

Here is what caused the crash in the first place, the file could not be
found.

> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in 
> eventhandler
> app.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 750, in 
> eventhandler
> if p.eventhandler(event=event, menuw=self):
>   File "/usr/lib/python2.5/site-packages/freevo/plugins/rom_drives.py", line 
> 162, in eventhandler
> media.item.play_recursive(menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 504, in 
> play_recursive
> self.check_password_and_build(arg='playlist:recursive', menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 535, in 
> check_password_and_build
> self.build(arg=arg, menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 603, in 
> build
> display_type=display_type, random=False).play(menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/playlist.py", line 382, in 
> play
> self.current_item.play(menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/audio/audioitem.py", line 
> 179, 
> in play
> error = self.player.play()
>   File "/usr/lib/python2.5/site-packages/freevo/audio/player.py", line 98, in 
> play
> self.item.eventhandler(event.PLAY_END)
>   File "/usr/lib/python2.5/site-packages/freevo/item.py", line 415, in 
> eventhandler
> return self.parent.eventhandler(event, menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/playlist.py", line 447, in 
> eventhandler
> self.current_item.stop()
>   File "/usr/lib/python2.5/site-packages/freevo/audio/audioitem.py", line 
> 205, 
> in stop
> self.player.stop()
>   File "/usr/lib/python2.5/site-packages/freevo/audio/player.py", line 129, 
> in 
> stop
> self.player.stop()
>   File "/usr/lib/python2.5/site-packages/freevo/audio/plugins/mplayer.py", 
> line 173, in stop
> self.app.stop('quit\n')
> AttributeError: 'NoneType' object has no attribute 'stop'

These messages look a bit strange.

> "/cdrom/Condemned, The -2007-akcija": [Errno 2] No such file or 
> directory: '/cdrom/Condemned, The -2007-akcija'
> "/cdrom/Condemned, The -2007-akcija": [Errno 2] No such file or 
> directory: '/cdrom/Condemned, The -2007-akcija'

What the real name of these files, does an ls /cdrom report the correct
files names?

Just for fun I installed the cdfs kernel driver then normal CDs are
treated as files.

Duncan

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] shuttle

2007-09-04 Thread Duncan Webb
Christian Lyra wrote:
> Hi
> 
>>  version 2 is a hack of the original, I was seeing if it was possible
>> to have other codes. I found one useful one and that was dimming the
>> display.
>>
>>  Use the plug-in vfd to drive the display from freevo.
>>
>>  Duncan
> 
> Thanks Duncan! to the records: the productID of my VFD is 0005 and not 
> 0003

0003 does not have a IR receiver :(

Is you vendor/product 0x051c, 0x0005?

If not I'll need to update the list in vfd.py
self.usbIDs = [ (0x1308, 0x0003), (0x051c, 0x0005), (0x1308, 0xc001), ]


Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-05 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pirlouwi wrote:
> Hello,
> I just bough this Hauppauge HVR-1300.
> I was a little nervous, and wanted to integrate it into my freevobox
> (1.7.3), but got problems.
> Could you help me? I want to be able to record from both tuner and
> composite inputs.

Are you sure that the HVR-1300 is supported by the ivtv driver?

First, can you try with just one VideoGroup as only one per tuner/vdev
is supported and change record_group=None.

IIRC it is possible to record from the tuner and composite inputs but
I'm not sure how this has been done. Possible with the VCR_PRE and POST
commands and calling the ivtv control tool (v4l2-ctl)

Duncan

> 
> Here is my local_conf relevant part:
> 
> VIDEO_GROUPS_ = [
>   VideoGroup(vdev='/dev/video0',
>  adev=None,
>  input_type='tuner',
>  input_num=0,
>  tuner_norm='pal',
>  tuner_chanlist='us-cable',
>  desc='Cable',
>  group_type='ivtv',
>  record_group=0),
>   VideoGroup(vdev='/dev/video0',
>  adev='/dev/adsp',
>  input_type='external',
>  input_num=1,
>  tuner_norm='pal',
>  desc='Composite',
>  group_type='ivtv',
>  record_group=0)
> ]
> TV_CHANNELS_ = [
> ('composite', 'Composite', '1', 0, 1),
> ( "TF11.kazer.org ", "TF1", "" ),
> ]
> 
> 
> 
> Here is the error log:
> 
> > Video Opened at /dev/video0
> > {}
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288,
> in eventhandler
> > app.eventhandler (event)
> >   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 495,
> in eventhandler
> > if not isinstance(menu, Menu) and menu.eventhandler(event):
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvguide.py",
> line 244, in eventhandler
> > self.player ('tv', self.selected.channel_id)
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/tvmenu.py", line
> 85, in start_tv
> > plugin.getbyname(plugin.TV).Play(mode, tuner_id)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 180, in Play
> > self.tuner.SetChannel(channel, True)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 419, in SetChannel
> > self.TuneChannelByIndex(channel_index + 1)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 430, in TuneChannelByIndex
> > self.SetVideoGroup(next_channel)
> >   File
> "/usr/lib/python2.5/site-packages/freevo/tv/plugins/ivtv_xine_tv.py",
> line 474, in SetVideoGroup
> > ivtv_dev.init_settings()
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/ivtv.py", line
> 358, in init_settings
> > self.setfmt (int(width), int(height))
> >   File "/usr/lib/python2.5/site-packages/freevo/tv/v4l2.py", line
> 361, in setfmt
> > r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
> > IOError: [Errno 22] Argument invalide
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG32j2Ni6l+Xvys44RAlBZAKCZboCu/1VJhq1AacHEiZkR67TYyQCcCkA8
V5LDZZflzsHabWTQsxEMJ+s=
=ZwWj
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Starting recordserver crashed

2007-09-05 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tanja wrote:
> Hi
> 
> Just for the record, I also see that same error message after downgrading 
> twisted,
> but my recordserver seems to work nonetheless.

How did you install twisted-2.4.0 from a package or the source?

If you did this from a package then my guess is that the package is not
complete as internet app is a class in Twisted.


Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG32mCNi6l+Xvys44RAmmAAJ0Z/cKAAOGbLgce6QGObNMYiuJNbACfWgI5
ElWaLRRcAteK20E8MyEx4VI=
=U3de
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] tv tuner card suggestions?

2007-09-05 Thread Duncan Webb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alberto Hernando wrote:
> El Wednesday 05 September 2007 14:09:06 Jody Gugelhupf escribió:
>> how is it with digital tv tuner cards can they record more then one program
>> at the same time or not? if yes which one would be a good product for
>> DVB-S, DVB-T, and DVB-C?
> 
> Hi.
> 
> Some cards have two receivers/tuners. It's just like  having two cards. Also, 
> each digital stream have more than one channel. So it's possible to record 
> two channels if they are in the same stream (with one receiver, of course). 
> If I'm not wrong, this feature will be in freevo 2.

IIRC, Adam has done this with Freevo-1, but the code is not yet in the
repository.

Duncan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG32n7Ni6l+Xvys44RAmBAAJ9CXYcs0UuT90avS0zlq+owK6sXJwCeKF32
OORJhwb45yEZVqJcZAdGHSA=
=+MXf
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] hauppauge MVP, and Hauppauge pvr-350

2007-09-06 Thread Duncan Webb
Michael Brown wrote:

Not so easy to see your comment...

> Pascal, reply inline...

> "So I came on another idea :  owning hauppauge PVR card, would it be 
> possible to use this card to do an hardware conversion to Mpeg2 format ?
> Especially (maybe a mad idea :-) ), I'm watching the output of my 
> freevobox trough the TV out of my PVR-350 card. Could it be possible to  
> capture this output back  (no idea how to do that) and send the flow to 
> the MVP box ?"

If you can convert the signals to YUV, it should be possible to use the
PVR-350 as a real-time encoder.

It the kernel log you should see something like:
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Registered device video16 for decoder MPEG (1 MB)
ivtv0: Registered device vbi8 for decoder VBI (1 MB)
ivtv0: Registered device vbi16 for decoder VOUT
ivtv0: Registered device video48 for decoder YUV (1 MB)


This means that you can push a YUV stream to /dev/video48 and read an
mpeg stream from /dev/video0.

The names are a bit misleading, decoder devices are where write streams
and encoder devices are where you read them.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-09 Thread Duncan Webb
Pirlouwi wrote:
> I have seen in ivtv-devel mailing list:
> 
> 
> Re: [ivtv-devel] Hauppauge WinTV-HVR-1300 Milos Prudek Tue Mar
> 13 12:13:23 2007
> 
>> > is Hauppauge WinTV-HVR-300 card supported by ivtv? Are there any plans
>> > to support it?
>>
>> There is support for this card in the kernel (the cx88 driver). It is not
> 
>> yet completely stable as far as I know, so your mileage may vary.
> 
> 
> I have tried only one VideoGroup with record_group=None, but the error
> is still the same.
> What equivalent shell command could I try to test the setfmt() command
> that fails outside of python and freevo?
> In other words, it seems that the cx8800 is effectively an ivtv driver,
> but how can I detect what is wrong with this ioctl?

r = fcntl.ioctl(self.device, i32(SET_FMT_NO), val)
is equivalent to:
v4l2-ctl --set-fmt-video
and you should also check
v4l2-ctl --get-fmt-video

VIDIOC_S_FMT and VIDIOC_G_FMT are basic video4linux commands and should
work for all cards.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-09 Thread Duncan Webb
> I can get fmt-video, but not set it.
>
> [EMAIL PROTECTED]:~# v4l2-ctl --set-fmt-video=width=768,height=576
> ioctl: VIDIOC_S_FMT

If you have connected this to a TV you will need to use 720x576 as the
pixels are not square on a TV (4:3 aspect has 1.06667:1) 720x1.0667 = 768.

Try this:
v4l2-ctl --set-fmt-video=width=720,height=576

> [EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
> Format:
> Type  : Video Capture
> Width/Height  : 320/240
> Pixel Format  : BGR3
> Field : Interlaced
> Bytes per Line: 960
> Size Image: 230400
> Colorspace: Unknown ()
>
> Will try some googling about this problem too.

Then you may need to set your geometry to 320x240.

> Is there anything else that I could check in a bash shell to help me
> correct
> my HVR-1300 problem?
> PS: I can change the resolution of my HVR display in TVTIME application.

Colorspace seems a bit odd too.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] OSD_OVERSCAN info needed

2007-09-09 Thread Duncan Webb
> Duncan,
>
> Can you tell when (i'm not trying to push you) this patch is in SVN or how
> I
> can check when it is (by viewing the status of the tracker or something)

Not yet.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] ivtv problem with HVR-1300

2007-09-10 Thread Duncan Webb
Pirlouwi wrote:
> I just tried with width=720 and height=576, but without success.
> Any other idea for me to debug the situation (quick and dirty) ? :-)

>From a PVR-500 I get this:
# v4l2-ctl --get-fmt-video
Format:
Type  : Video Capture
Width/Height  : 720/576
Pixel Format  : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image: 131072
Colorspace: Broadcast NTSC/PAL (SMPTE170M/ITU601)

# v4l2-ctl --set-fmt-video=width=320,height=240
ioctl: VIDIOC_S_FMT
# v4l2-ctl --get-fmt-video
Format:
Type  : Video Capture
Width/Height  : 320/240
Pixel Format  : MPEG
Field : Interlaced
Bytes per Line: 0
Size Image: 131072
Colorspace: Broadcast NTSC/PAL (SMPTE170M/ITU601)


If tvtime is working then I guess it is not setting the format as it
clearly isn't working.

I would try different formats,
# v4l2-ctl --set-fmt-video=width=640,height=480
works for me as well
and then set freevo's geometry to the best setting.

look at the tv/v4l2.py at the end are some test cases which you can run
with freevo execute /path/to/tv/v4l2.py. May be you can hack this file
enough to get this card working.

Duncan
> 
> 
> 2007/9/10, Duncan Webb < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
> > I can get fmt-video, but not set it.
> >
> > [EMAIL PROTECTED] :~# v4l2-ctl --set-fmt-video=width=768,height=576
> > ioctl: VIDIOC_S_FMT
> 
> If you have connected this to a TV you will need to use 720x576 as the
> pixels are not square on a TV (4:3 aspect has 1.06667:1) 720x1.0667
> = 768.
> 
> Try this:
> v4l2-ctl --set-fmt-video=width=720,height=576
> 
> > [EMAIL PROTECTED]:~# v4l2-ctl --get-fmt-video
> > Format:
> > Type  : Video Capture
> > Width/Height  : 320/240
> > Pixel Format  : BGR3
> > Field : Interlaced
> > Bytes per Line: 960
> > Size Image: 230400
> > Colorspace: Unknown ()
> >
> > Will try some googling about this problem too.
> 
> Then you may need to set your geometry to 320x240.
> 
> > Is there anything else that I could check in a bash shell to help me
> > correct
> > my HVR-1300 problem?
> > PS: I can change the resolution of my HVR display in TVTIME
> application.
> 
> Colorspace seems a bit odd too.
> 
> Duncan
> 
> 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Manually adding Favorites?

2007-09-15 Thread Duncan Webb
Justin Wetherell wrote:
> Nice! I didn't know about the price reduction but I had already signed
> up anyways.
> 
> I still think it's a "good" idea to have this feature as part of the
> manual recordings.

It will be a nice feature, agreed.

> On 9/14/07, *Art S R* <[EMAIL PROTECTED] >
> wrote:
> 
> Justin Wetherell wrote:
> > Hello All,
> >
> > With the zap2it service going away, I was wondering if there is anyway
> > to add a Favorite Manually? I know you can schedule a single recording
> > via web interface.
> >
> > -Justin
> I don't think there's a way of doing this currently in Freevo.  However,
> it would be nice if there's another selection field in Manual Record
> where, in addition to Name, Channel, Start date/time, Stop date/time,
> you could also specify Once, Daily (weekdays), Daily (all days), or
> Weekly.
> 
> By the way, in case you didn't already know, the SchedulesDirect service
> (which has stepped in the fill the void left by labs.zap2it.com
> 's
> departure) just announced a price reduction from $15 for 3 months to $15
> for 6 months.  So, for a little more that 8 cents a day, we can still
> have the convenience of on-line TV schedules for our Freevo boxes.


The programme information should be provided by the broadcasters for
free, as it already is, why they don't provide rss feeds or soap
interfaces is the real problem. Broadcasters do spend quite a bit of
money on their web sites and they only earn money from you watching
their programmes. It is in their interest to provide the information is
the form that their viewers want.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] AlbumTree clears screen after first track

2007-09-16 Thread Duncan Webb
Art S R wrote:
> It took me awhile and going down several false trails, but I finally
> found where the problem lies -- it's in playlist.py.  After some tracing
> and noting the comment that says, "That doesn't belong here! It should
> be part of the player!!!", I commented out the following lines in the
> eventhandler section:
>
> #if event == PLAY_END:
> #if self.current_item and self.current_item.type == 'audio':
> #rc.post_event(Event(AUDIO_LOG,
> arg=self.current_item.filename))
>
> After making this change, AlbumTree no longer restarts the OSD after
> playing the first track, so I don't get the black screen anymore.  So
> far, I haven't encountered any ill-effects from removing this code.

Strange, the AUDIO_LOG event is only to update the statistics in the
sqlite data base. Wonder why this should cause the menu to be skipped.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 1.7.3 on Via EPIA MII/Zenwalk linux wont start, no (?) errors

2007-09-17 Thread Duncan Webb
Jack Catchpoole wrote:
> Hi Evan,
> 
> Many thanks for the reply -
> 
> Evan Hisey wrote:
>>   Manaully change the Version Number in the local_config.py to 5.20.
> 
> Ah, thanks.  Done.  That got rid of the config diff msgs.
> 
>> That will fix the version problem. Second step is make sure you have a
>> working X server by starting X with startx. If that works then you can
> 
> Sorry, I should have mentioned that - X is working fine, I've been using
> it normally (without Freevo) without problem.
> 
>> start solving the rest of the problems. If X is working, then form a
>> terminal try starting freevo, but don't use the -fs option. this is
>> all to make sure that you have both X working right and have freevo
>> installed right.
> 
> OK, I tried that - a black Freevo window opens for a few seconds, then
> closes.  There's a note about ROM drives in the terminal, and "PyLirc 
> resumed!", but nothing else.  Other than the config diffs not being 
> listed any more, the Freevo log looks identical to the one I posted 
> earlier today - in fact I verified the only difference is the hex 
> address at the end of the "register callback" line.  Other than the 
> same 2 LIRC msgs there's nothing in /var/log/messages.  Xorg.0.log 
> isn't modified by starting Freevo like this, so no hints there either.

I wrote a quick start guide for first time users that may help,
http://freevo.sourceforge.net/cgi-bin/doc/QuickStartGuide

It may need some updating as it is possible that I missed something
obvious.

> In case it helps, here are the only non-comment lines in my local_conf.py :
> 
> CONFIG_VERSION = 5.20
> EVENT_DEVS = []
> CACHE_IMAGES = 1
> plugin.remove('tv') 
> VIDEO_ITEMS = [ ('Movies', '/freevo/video/movies') ]
> VIDEO_SHOW_DATA_DIR = [ ('/freevo/fxd') ]
> AUDIO_ITEMS = [ ('Music Collection', '/freevo/audio/albums/'),
>  'fxd/webradio.fxd' ]
> IMAGE_ITEMS = '/freevo/images'
> LOGGING = logging.DEBUG
> RECORDSERVER_LOGGING = logging.DEBUG
> DEBUG = 9
> CHILDAPP_DEBUG = 9
> 
> And here's my ~/.freevo/freevo.conf (identical /etc/freevo/freevo.conf) :
> 
> cdparanoia = /usr/bin/cdparanoia
> chanlist = us-cable
> display = x11
> flac = /usr/bin/flac
> geometry = 800x600
> jpegtran = /usr/bin/jpegtran
> mplayer = /usr/bin/mplayer
> oggenc = /usr/bin/oggenc
> renice = /usr/bin/renice
> setterm = /bin/setterm
> tv = ntsc
> version = 2.1
> 
> 
> Any suggestions much appreciated, thanks.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Can't play DVD's with video_ts instead of VIDEO_TS

2007-09-17 Thread Duncan Webb
> Frank [Antispam account] wrote:
>> Hello,
>>
>> Just upgraded to the latest svn-version of Freevo. Works
>> great but I thing 'bugged'.
>> When I enter a DVD with a video_ts directory, I can play the
>> DVD anymore.
>> >From Watch-Movies, I see a entry "MOVIE TITLE HERE". Normally
>> when I press enter, The DVD would play with Xine, but now it
>> goes a level deeper and gives me the Separate files on that
>> DVD. Even pressing enter there doesn't work, because it Gives
>> me a "No action defined".
>>
>>
>
> I can confirm this behavior on a fresh install of freevo from svn,
> revision 9881 on an Ubuntu Feisty OS. There is no indication in the log
> that xine is even getting started when using the remote ENTER button on
> the dvd item in the Movie menu, so I'm sure it is some configuration
> item missing, or I am missing a library.  I have CHILDAPP_DEBUG = 9 and
> DEBUG = 9.  no xine logs get created in /var/log/freevo.  xine works
> from the command line if I do 'xine dvd://'.  Poking around now in the
> source to see if I can add some debug, but pointers on where to look
> would be nice.

With the svn version you will need to add:
LOGGING = logging.DEBUG
Using CHILDAPP_DEBUG = 9 does no more that CHILDAPP_DEBUG=1
Generally logging levels > 1 provide too much information that you will
not be able to see the wood for the trees :)

Sensible debug settings are:
#
# Debugging and logging settings
#
# logging can be one of:
# CRITICAL, ERROR, WARNING, INFO, DEBUG or NOTSET
#
LOGGING = logging.DEBUG
RECORDSERVER_LOGGING = logging.DEBUG
DEBUG = 1
# messages go to stdout
# DEBUG_STDOUT = 0
# messages from starting a child application
CHILDAPP_DEBUG = 1
# timing messages
# TIME_DEBUG = 0

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] directory settings for saving *.xfd files

2007-09-19 Thread Duncan Webb
vlad wrote:
> hello list,
> 
> how can i set a single directory for saving the .xfd files generated by
> the imdb lookup? now they are all scattered in different directories.
> let's say i want to save all .xfd file into
> ~/.freevo/xfd. which setting is supposed for this?

AFAIK you can't have a single directory for imdb fxd files they are
either created in the directory of the file or for a disc then they go
into the cache directory.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recordserver not renaming temp files

2007-09-19 Thread Duncan Webb
Teus wrote:
> Hello,
>  
> Quick question about the recordserver in Freevo 1.7.3: when it is done
> recording it won't rename the file from the temp file name to a human
> readable file name.  I have set the record file name mask correctly in
> local_conf, but it still won't rename.  Any ideas?

Are you sure that the mask is correct, should really post what you have
as this is the most likely reason. Another reason is a permissions
problem with the directory.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problems with "freevo -fs"?

2007-09-20 Thread Duncan Webb
> This seems like it should have been documented somewhere, but I can't
> seem to find it via google or the wiki or the list archives, so here
> goes...
>
> In my ongoing quest to find a way to get rid of the frames around the
> freevo screen while running one of the players, I thought I would try
> "freevo -fs" to put freevo in its own world, so to speak.

freevo -fs is the best solution to run freevo in a full screen mode.

> I have a fairly stock FC6 install, which boots up through gdm.  When I
> issue the "freevo -fs" command, I get a plain X background, but freevo
> never launches.  Back on display :0, there is a continuous stream of:
>
> AUDIT:  X: client 1 rejected from local host
> Xlib: connection to ":1.0" refused by server
> Xlib: No protocol specified

There must be a way in gdm to allow this. I would expect something like
"xhost +" to allow you to connect.

Are you using a nvidia driver? If so you should try re-installing it.

Or you can try re-installing gdm.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] recordserver not renaming temp files

2007-09-20 Thread Duncan Webb
> Duncan
>
> Thanks for the quick response.  I checked the permissions and there should
> be no issue there.  I am using the standard record file mask
>
> TV_RECORDFILE_MASK = '%%m-%%d %%H:%%M %(progname)s - %(title)s'

Can you post what is relevant in the log, either main or recordserver as
it's difficult to identify what the problem is with the information so
far.

Thanks
Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.7.3 crashing

2007-09-20 Thread Duncan Webb
> Jaap Struyk schreef:
>
>> p.s. Could problems have something to do with using Mplayer SVN?
>
> The last weeks I didn't had any crashes at all, since I update mplayer
> weekly could the above be possible? (all crashes apeared after an action
> when playing video or music with mplayer)

This sounds reasonable from your earlier log report, as freevo was trying
to kill mplayer which was already dead. Something I need to fix in the
childapp module.

Did you ever check the mplayer stdout and stderr logs?

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problems loading plugins in 1.7.3

2007-09-22 Thread Duncan Webb
Kevin Gottsman wrote:
> On Fri, 21 Sep 2007 15:29:06 -0700, Art Rafael wrote:
>
>   
>> The two files that need to be copied/moved over to the plugins directory
>> are appletrailers.py and applelib.py.
>>
>> 
>
> My distro (Fedora 7) also had a .pyo and .pyc file for each of the 2 
> files. I'm not a Freevo or python developer so I don't honestly know what 
> those files are for. 
>   

pyo are python compiled objects and
pyc are python byte compiles objects

You can copy the pyc or pyo or both to the directory.

Actually I don't build pyo files as they save very little.

> I copied all 6 files from my distro's RPM file into the Freevo plugins 
> directory. Then I activated the plugin in my config file and it worked 
> wonderfully. When I copied the files into a self-created "appletrailers" 
> directory within the plugins directory, Freevo crash as others have said.
>
>   

You need the files from the latest subversion revision from:
svn export
svn://svn.freevo.org/freevo/branches/rel-1/freevo/contrib/video/plugins/appletrailers

Then you need to copy these files and remove the pyc and pyo files.

Duncan
**


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problems with "freevo -fs"?

2007-09-22 Thread Duncan Webb
Brett Granger wrote:
> 
> 
> Duncan Webb wrote:
>>> This seems like it should have been documented somewhere, but I can't
>>> seem to find it via google or the wiki or the list archives, so here
>>> goes...
>>>
>>> In my ongoing quest to find a way to get rid of the frames around the
>>> freevo screen while running one of the players, I thought I would try
>>> "freevo -fs" to put freevo in its own world, so to speak.
>>
>> freevo -fs is the best solution to run freevo in a full screen mode.
>>
> 
> That's what it seemed like.  However, it certainly doesn't make a lot of
> sense to run 2 X servers at the same time on the same machine with a
> single screen, if it's going to be primarily a freevo box.  I suppose I
> should look into not launching the gnome stuff and just launching
> straight into freevo.  From what I see on the Freevo wiki, that's not
> how "most" seem to do it -- instead they just add an extra session that
> launches freevo (but not full screen?) to their gdm or kdm sessions list?

As your box going to be a dedicated freevo box, then why run gdm or xdm
at all just boot straight into freevo.

There is some information on the wiki about booting into freevo.
Generally it means writing an init script and removing gdm from the init
scripts.

Actually what I do is use init level 4 (level 3 is a console boot and
level 5 is a X boot). Then I only run the services that are needed by
freevo. Then add a 4 at the end of the boot line in either lilo or grub
configuration. This way yo have the best of all world booting to gdm or
freevo when you want to.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with web server in rel-1 revision 9885?

2007-09-23 Thread Duncan Webb
Evan Hisey wrote:
> John-
>   Sounds like what happends when you go to the wrong webserver port.
> This is a bug, I really need to get documented and submitted. try
> addiing :8080 to the end of the server name. Also make sure that the
> local_conf.py has the webserver set up right.
> 
> Evan
> 
> On 9/22/07, John Molohan <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> All I get now when I browse to my freevo site is this:
>>
>> Directory listing for /
>> Filename Content type Content encoding
>> downloadurl.py [text/plain]
>> downloadurl.pyc [application/x-python-code]
>>
>> Did I mess something up or is there a problem with the current svn?

Looks like setup.py is copying some files that it should not be

Check /usr/lib/python2.*/site-packages/freevo/www/htdocs, it should not
exist and then remove it and restart the webserver.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with web server in rel-1 revision 9885?

2007-09-24 Thread Duncan Webb
> Duncan Webb wrote:
>> Evan Hisey wrote:
>>
>>> John-
>>>   Sounds like what happends when you go to the wrong webserver port.
>>> This is a bug, I really need to get documented and submitted. try
>>> addiing :8080 to the end of the server name. Also make sure that the
>>> local_conf.py has the webserver set up right.
>>>
>>> Evan
>>>
>>> On 9/22/07, John Molohan <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hi,
>>>>
>>>> All I get now when I browse to my freevo site is this:
>>>>
>>>> Directory listing for /
>>>> Filename Content type Content encoding
>>>> downloadurl.py [text/plain]
>>>> downloadurl.pyc [application/x-python-code]
>>>>
>>>> Did I mess something up or is there a problem with the current svn?
>>>>
>>
>> Looks like setup.py is copying some files that it should not be
>>
>> Check /usr/lib/python2.*/site-packages/freevo/www/htdocs, it should not
>> exist and then remove it and restart the webserver.
>>
>> Duncan
>>
> Hmm. I tried that and found the two dowloadurl files there and deleted
> them. Then it just gave me a 'Directory listing for /' page and it was
> empty. I then deleted the empty htdocs directory and now get the
> attached file when I browse to http://freevo:8080
>
> I recently did huge updates to my distro that brought me from python2.4
> to python2.5 I'm guessing that this could be related to that? I had to
> fudge my way through a lot of freevo related errors after that upgrade
> but everything else seems to be working fine, do I have an issue with
> Twisted?

Did you delete the build directory from the freevo install directory as it
will be copied again when you do a setup.py install.

It is definitely a problem with downloadurl.py being in the wrong
directory as I was getting exactly the same error.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] resolution while playing

2007-09-25 Thread Duncan Webb
Robert Winder wrote:
> Hugo,
> 
> You might want to add a modeline in xorg.conf like
> 
> ModeLine "768x576" 50.00  768  832  846 1000   576  590  595  630
> 
> in the Monitor section to see if the nvidia driver picks that up.
> 
> And as an aspect helper for xine you may add the line
> 
> # Set for 4:3 display
> DisplaySize 300 225
> 
> for standard definitions. Again you put these line in the monitor section

This may depend a bit on how and what the nvidia card it is connected
to. If it is connected to a TV then try 720x576 as 768/720 = 1.0333.
which is the width of a PAL TV pixel. IIRC NTSC has a slightly different
ratio (see http://www.strata.com/support/3dmanual/ch13/ch13_7.html)

> On Sunday, September 23, 2007, 4:29:52 PM, Hugo wrote:
> 
>> My first approach was to launch freevo from gdm and i already had 
>> everything working in this setup. Then i saw the docs about freevo -fs,
>> and i switched for that kind of setup, which is much faster and cleaner
>> (no windowing and all). The problem is that suddenly my videos don't 
>> play with the right resolution. The resolution used is bigger than the
>> 768x576.
> 
>> I've managed to correct this behavior in mplayer with -screenh 576 
>> -screenw 768 but since i use xine to play DVDs, i'm stuck on that part.
> 
>> I can see in my /var/log/Xorg.0.log that the resolution used is 800x600,
>> although i only have Modes "768x576" in my xorg.conf. My guess is that
>> xinit doesn't really care about things on xorg.conf. And this clearly 
>> strikes me as a X issue.
> 
>> "(II) NVIDIA(0): Setting mode "800x600""
> 
>> I'd like to solve this in a general way, i.e. without having to force 
>> resolutions on the players, if that's not possible. If someone knows how
>> can i do a similar thing to xine like i did with mplayer, that'll be 
>> great too. At least for a temporary fix up.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with web server in rel-1 revision 9885?

2007-09-25 Thread Duncan Webb
John Molohan wrote:
> Duncan Webb wrote:
>>> Duncan Webb wrote:
>>>
>>>> Evan Hisey wrote:
>>>>
>>>>  
>>>>> John-
>>>>>   Sounds like what happends when you go to the wrong webserver port.
>>>>> This is a bug, I really need to get documented and submitted. try
>>>>> addiing :8080 to the end of the server name. Also make sure that the
>>>>> local_conf.py has the webserver set up right.
>>>>>
>>>>> Evan
>>>>>
>>>>> On 9/22/07, John Molohan <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> All I get now when I browse to my freevo site is this:
>>>>>>
>>>>>> Directory listing for /
>>>>>> Filename Content type Content encoding
>>>>>> downloadurl.py [text/plain]
>>>>>> downloadurl.pyc [application/x-python-code]
>>>>>>
>>>>>> Did I mess something up or is there a problem with the current svn?
>>>>>>
>>>>>>   
>>>> Looks like setup.py is copying some files that it should not be
>>>>
>>>> Check /usr/lib/python2.*/site-packages/freevo/www/htdocs, it should not
>>>> exist and then remove it and restart the webserver.
>>>>
>>>> Duncan
>>>>
>>>>   
>>> Hmm. I tried that and found the two dowloadurl files there and deleted
>>> them. Then it just gave me a 'Directory listing for /' page and it was
>>> empty. I then deleted the empty htdocs directory and now get the
>>> attached file when I browse to http://freevo:8080
>>>
>>> I recently did huge updates to my distro that brought me from python2.4
>>> to python2.5 I'm guessing that this could be related to that? I had to
>>> fudge my way through a lot of freevo related errors after that upgrade
>>> but everything else seems to be working fine, do I have an issue with
>>> Twisted?
>>> 
>>
>> Did you delete the build directory from the freevo install directory
>> as it
>> will be copied again when you do a setup.py install.
>>
>> It is definitely a problem with downloadurl.py being in the wrong
>> directory as I was getting exactly the same error.
>>
>> Duncan
> Ok I've deleted all the relevant folders. Did an svn update, python
> setup.py clean, python setup.py install and now I get this error when I
> browse to my freevo box:
> 
> : [Errno 13] Permission denied:
> '/root/tmp/kaa-77'
> 
> My settings are:
> WEBSERVER_UID=77
> WEBSERVER_GID=77
> 
> But that worked before. Is that a bug or something I did?

Who owns /root/tmp/kaa-77, root?
Just do a:
chown 77:77 /root/tmp/kaa-77
then it should work.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with web server in rel-1 revision 9885?

2007-09-25 Thread Duncan Webb
> 
>>> Ok I've deleted all the relevant folders. Did an svn update, python
>>> setup.py clean, python setup.py install and now I get this error when I
>>> browse to my freevo box:
>>>
>>> : [Errno 13] Permission denied:
>>> '/root/tmp/kaa-77'
>>>
>>> My settings are:
>>> WEBSERVER_UID=77
>>> WEBSERVER_GID=77
>>>
>>> But that worked before. Is that a bug or something I did?
>>>
>>
>> Who owns /root/tmp/kaa-77, root?
>> Just do a:
>> chown 77:77 /root/tmp/kaa-77
>> then it should work.
>>
>> Duncan
>>
>>
> No luck with that, didn't seem to make any difference. Here's the full
> traceback:
>
> 2007/09/25 22:21 IST [*web*] Main loop terminated.
> 2007/09/25 22:22 IST [-] Log opened.
> 2007/09/25 22:22 IST [*web*] twisted.web.server.Site starting on 8080
> 2007/09/25 22:22 IST [*web*] Starting factory  instance at 0xb6d8cf2c>
> 2007/09/25 22:23 IST [HTTPChannel,0,192.168.1.2] Traceback (most recent
> call last):
>   File
> "/usr/lib/python2.5/site-packages/twisted/protocols/basic.py", line 232,
> in dataReceived
> why = self.lineReceived(line)
>   File "/usr/lib/python2.5/site-packages/twisted/web/http.py",
> line 1004, in lineReceived
> self.allContentReceived()
>   File "/usr/lib/python2.5/site-packages/twisted/web/http.py",
> line 1045, in allContentReceived
> req.requestReceived(command, path, version)
>   File "/usr/lib/python2.5/site-packages/twisted/web/http.py",
> line 601, in requestReceived
> self.process()
> ---  ---
>   File "/usr/lib/python2.5/site-packages/twisted/web/server.py",
> line 159, in process
> resrc = self.site.getResourceFor(self)
>   File "/usr/lib/python2.5/site-packages/twisted/web/server.py",
> line 514, in getResourceFor
> return resource.getChildForRequest(self.resource, request)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/resource.py", line 50, in
> getChildForRequest
> resource = resource.getChildWithDefault(pathElement, request)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/resource.py", line 150, in
> getChildWithDefault
> return self.getChild(path, request)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/rewrite.py", line 24, in
> getChild
> return self.resource.getChildWithDefault(path, request)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/resource.py", line 150, in
> getChildWithDefault
> return self.getChild(path, request)
>   File "/usr/lib/python2.5/site-packages/twisted/web/static.py",
> line 277, in getChild
> return resource.IResource(processor(fpath.path,
> self.registry))
>   File "/usr/lib/python2.5/site-packages/twisted/web/script.py",
> line 70, in ResourceScript
> execfile(path, glob, glob)
>   File "/usr/share/freevo/htdocs/index.rpy", line 34, in 
> import tv.record_client
>   File
> "/usr/lib/python2.5/site-packages/freevo/tv/record_client.py", line 38,
> in 
> from util.marmalade import jellyToXML, unjellyFromXML
>   File
> "/usr/lib/python2.5/site-packages/freevo/util/__init__.py", line 74, in
> 
> from fileops import *
>   File
> "/usr/lib/python2.5/site-packages/freevo/util/fileops.py", line 43, in
> 
> import kaa.imlib2 as imlib2
>   File "/usr/lib/python2.5/site-packages/kaa/__init__.py", line
> 38, in 
> from tmpfile import tempfile, TEMP
>   File "/usr/lib/python2.5/site-packages/kaa/tmpfile.py", line
> 20, in 
> os.mkdir(TEMP, 0700)
> : [Errno 13] Permission denied:
> '/root/tmp/kaa-77'
>
> 2007/09/25 22:23 IST [HTTPChannel,0,192.168.1.2] 192.168.1.2 - -
> [25/Sep/2007:21:23:11 +] "GET / HTTP/1.1" 500 27261 "-" "Mozilla/5.0
> (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.7) Gecko/20070914
> Firefox/2.0.0.7"

More helpful with the full log, it looks that kaa is doing something
incorrectly.

'/root/tmp/kaa-77' should be '/tmp/kaa-77'

So I'm not surprised that this fails as the user 77 does not have
permission to create directories in root's home directory.

Duncan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VCR_CMD from v1.4 to v1.7 ?

2007-10-02 Thread Duncan Webb
Markus Klein wrote:
> Hello everyone,
> 
> after I managed to install freevo finaly I have a problem to understand 
> the new VCR_CMD.
> 
> I used this at freevo version 1.4:
> VCR_CMD = ("aumix -W 100 -w 100 -i 100 -1 100; " +
>  CONF.mencoder + " " +
>   "tv:// " +  # New mplayer requires 
> this.
>   "-tv driver=%s:input=%d" % (TV_DRIVER, TV_INPUT) +
>   ":norm=%s" % CONF.tv +
>   #":channel=%(channel)s" +# Filled in by Freevo
> # ":chanlist=%s" % CONF.chanlist +
>  ":freq=%(frequencyMhz)s" +
>   ":brightness=-17" +
>   ":width=%d:height=%d" % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
>   ":outfmt=%s" % TV_REC_OUTFMT +
>   ":device=%s" % TV_DEVICE +
>   VCR_AUDIO + # set above
>   " -ovc lavc -lavcopts " +   # Mencoder lavcodec 
> videocodec
>   "vcodec=mpeg4" +# lavcodec mpeg-4
>[..snip..]

>  ":freq=%(frequencyMhz)s" +
should be:
>  ":freq=%(frequencyMHz)s" +

Other options are:
'channel', 'frequency', 'frequencyMHz', 'filename', 'base_filename',
'title', 'sub-title', 'seconds', 'start',

Python is case sensitive.

HTH
Duncan




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VCR_CMD from v1.4 to v1.7 ?

2007-10-02 Thread Duncan Webb
Markus Klein wrote:
> Thanks for the response.
> The error message disappeared.
> But it still doesn't record anything. There is just the the fxd file.
> recordserver.log is now:

Uncomment these in your local, when it's working comment them back as it
reduced the risk of crashes because of incorrect debug messages.

DEBUG = 1
CHILDAPP_DEBUG = 1

> ing Tue 2007-10-02 22:00->22:05 (01:00)  C1.orf.at tester
> 2007-10-02 22:05:00,218 INFO recordserver.py (939) : going to  
> record: Tue 2007-10-02 22:05->22:10 (01:00)  C1.orf.at Manual Recorded
> 2007-10-02 22:05:00,237 INFO recordserver.py (957) : start  
> recording: Tue 2007-10-02 22:05->22:10 (01:00)  C1.orf.at Manual  
> Recorded
> 2007-10-02 22:05:00,906 INFO recordserver.py (1613): RECORD_START  
> Tue 2007-10-02 22:05->22:10 (01:00)  C1.orf.at Manual Recorded
> 2007-10-02 22:05:01,085 INFO recordserver.py (1621): RECORD_STOP  
> Tue 2007-10-02 22:05->22:10 (01:00)  C1.orf.at Manual Recorded
> 2007-10-02 22:09:13,565 INFO recordserver.py (767) : stopping  
> current recording Tue 2007-10-02 22:05->22:10 (01:00)  C1.orf.at Manual  
> Recorded
> 2007-10-02 22:10:00,238 INFO recordserver.py (939) : going to  
> record: Tue 2007-10-02 22:10->22:15 (01:00)  C1.orf.at Manual Recorded
> 2007-10-02 22:10:00,256 INFO recordserver.py (957) : start  
> recording: Tue 2007-10-02 22:10->22:15 (01:00)  C1.orf.at Manual  
> Recorded
> 2007-10-02 22:10:00,890 INFO recordserver.py (1613): RECORD_START  
> Tue 2007-10-02 22:10->22:15 (01:00)  C1.orf.at Manual Recorded
> 2007-10-02 22:10:00,933 INFO recordserver.py (1621): RECORD_STOP  
> Tue 2007-10-02 22:10->22:15 (01:00)  C1.orf.at Manual Recorded
> 
> http://www.students.meduniwien.ac.at/~n9308317/local_conf.py
> 
> How can I see more exactly what goes wrong ?
> 
> Am 02.10.2007 um 21:38 schrieb Duncan Webb:
> 
>> Markus Klein wrote:
>>> Hello everyone,
>>>
>>> after I managed to install freevo finaly I have a problem to  
>>> understand
>>> the new VCR_CMD.
>>>
>>> I used this at freevo version 1.4:
>>> VCR_CMD = ("aumix -W 100 -w 100 -i 100 -1 100; " +
>>>  CONF.mencoder + " " +
>>>   "tv:// " +  # New mplayer requires
>>> this.
>>>   "-tv driver=%s:input=%d" % (TV_DRIVER, TV_INPUT) +
>>>   ":norm=%s" % CONF.tv +
>>>   #":channel=%(channel)s" +# Filled in by Freevo
>>> # ":chanlist=%s" % CONF.chanlist +
>>>  ":freq=%(frequencyMhz)s" +
>>>   ":brightness=-17" +
>>>   ":width=%d:height=%d" % (TV_REC_SIZE[0],  
>>> TV_REC_SIZE[1]) +
>>>   ":outfmt=%s" % TV_REC_OUTFMT +
>>>   ":device=%s" % TV_DEVICE +
>>>   VCR_AUDIO + # set above
>>>   " -ovc lavc -lavcopts " +   # Mencoder lavcodec
>>> videocodec
>>>   "vcodec=mpeg4" +# lavcodec mpeg-4
>>>[..snip..]
>>>  ":freq=%(frequencyMhz)s" +
>> should be:
>>>  ":freq=%(frequencyMHz)s" +
>> Other options are:
>> 'channel', 'frequency', 'frequencyMHz', 'filename', 'base_filename',
>> 'title', 'sub-title', 'seconds', 'start',
>>
>> Python is case sensitive.
>>
>> HTH
>> Duncan
>>
>>
>>
>>
>> --- 
>> --
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
> 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mplayer analog tuning : bad frequency (0.000) set by freevo to mplayer

2007-10-03 Thread Duncan Webb
Pirlouwi wrote:
> I found myself the solution to my issue:
> My "Tuner_Type" variable inside local_conf.py was set to "external"
> instead of "internal".
> Now the freq is correctly set in the mplayer tvcmd variable.
> Cheers,
> --Pirlouwi.
> 
> 2007/9/29, Pirlouwi <[EMAIL PROTECTED] >:
> 
> Here is the childapp.py traceback when I push on an analog tv
> channel inside freevo:
> 
> childapp.py (139): Running (str) " /usr/bin/mplayer -vo xv  -ao
> oss:/dev/dsp -autosync 100 -nolirc -nojoystick -autoq 100 -screenw
> 720 -screenh 576 -fs -slave -nocache tv:// -tv driver=v4l2:freq=
> 0.000:device=/dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yty2
> " in shell with pid 6988 priority -5
> 
> I do not see the tv channel on screen, only white noise.
> This is normal because the mplayer freq is set to 0.000 (when I
> replace 0.000 by 55.250 for example, the tv picture is well displayed.
> I suppose this is not a bug, but I don't know what config error I made.
> 
> Could someone lead me to the solution?
> 
> PS:
> my config is, quickly said is :
> 
> CONF.chanlist=europe-west
> Tuner_norm=PAL
> group_type='normal'
> TV_CHANNELS = [ (' TF11.kazer.org ', 'TF1',
> 'E5'), ( 'FRA2.kazer.org ', 'FR2', 'E7')]

Good to hear this, wouldn't have guessed that you are using an external
tuner.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] VCR_CMD and Hauppauge HVR-1300

2007-10-04 Thread Duncan Webb
Pirlouwi wrote:
> Hi all,
> I would like to build a VCR_CMD string for using with an HVR-1300.
> I want to record analog channels, using the hardware encoder of the
> HVR-1300.
> 
> If I do a cat /dev/video1 > test.mpg, I do get a valid mpeg file, so my
> question is: what VCR_CMD command should I use inside freevo to record
> the hardware-encoded mpeg2 stream, knowing that:
> - i want to keep the ability to stop a recording after a defined time
> - i don't want to transcode the mpeg stream in any way, just save it to disk
> 
> It should be a little like the following, but I am a little bit lost
> with all those mencoder switches
> # VCR_CMD = (CONF.mencoder + ' ' +
> #'tv:// ' +  # New mplayer requires this.
> #'-tv driver=%s:input=%d' % (TV_DRIVER, TV_INPUT) +
> #':norm=%s' % CONF.tv +
> #':channel=%(channel)s' +# Filled in by Freevo
> #':chanlist=%s' % CONF.chanlist +
> #':width=%d:height=%d' % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
> #':outfmt=%s' % TV_REC_OUTFMT +
> #':device=%s' % TV_DEVICE +
> #VCR_AUDIO + # set above
> #' -ovc lavc -lavcopts ' +   # Mencoder lavcodec video
> codec
> #'vcodec=mpeg4' +# lavcodec mpeg-4
> #':vbitrate=1200:' + # Change lower/higher, bitrate
> #'keyint=30 ' +  # Keyframe every 10 secs,
> change?
> #'-oac mp3lame -lameopts ' + # Use Lame for MP3
> encoding, must be enabled in mencoder!
> #'br=128:cbr:mode=3 ' +  # MP3 const. bitrate, 128
> kbit/s
> #'-ffourcc divx ' +  # Force 'divx' ident,
> better compat.
> #'-endpos %(seconds)s ' +# only mencoder uses this
> so do it here.
> #'-o %(filename)s') # Filled in by Freevo
> 
> 
> I though using mplayer instead of mencoder, because mplayer has a lovely
> "save-stream-to-file" feature, but problem is that I then cannot program
> the end of the record (%(seconds)).
> Any help is welcome.
> 
> PS: the best for me would be to use the ivtv plugin, but unfortunatelly,
> my HVR board seems to not be supported by the ivtv driver. I will not
> get live pause with the normal method, but it is a first integration
> step. In a next effort, I will try to adapt the ivtv plugin for my HVR.


I think that you will need to use the copy stream commands of mencoder,
rather than trying to re-encode the video and audio. You should first
try using mencoder or mplayer from the command line to get the arguments
correct.

Another choice may be to use a DVB plug-in, see the wiki for details,
and treat the cards a a DVB device.

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Switching from MythTV to Freevo - HDHomeRun support? Other questions

2007-10-04 Thread Duncan Webb
Robert Schultz wrote:
> So I've been using MythTV for several years now, however I've always
> been a little irked by how bloated it is, how finicky and little bugs
> and issues here and there.
> 
> I had looked at Freevo a few years ago, but back then it was not
> mature enough for me to switch. However after suffering some more
> MythTV issues, I've recently looked at Freevo and it looks much more
> mature.
> 
> I'll be running under Gentoo Linux with one 'back end' where all
> recording takes place and three other machines in the house where
> playback of recorded TV shows will take place.

Some people do this, too.

> I have some questions that I wasn't able to track down any (or clear)
> answers for online and some questions that can only be answered by
> actual users.
> 
> 1. I have two HDHomeRun devices
> (http://www.silicondust.com/wiki/products/hdhomerun) that records my
> HDTV TV shows. Is Freevo compatible with these?

Don't know, as I can't get HDTV that is not encrypted but it looks like
an interesting product.

I guess that you could treat them as external DVB devices in Freevo then
it is just a bit of tweaking of the commands.

> 1a. If not compatible, how hard is it to extend Freevo to support
> other recorders? I've been coding for 12+ years now and so I wouldn't
> object to getting my hands dirty.

You may need to program something to send the correct commands to the
devices to tune them to a channel, start recording, etc.

BTW Python is fun.

> 2. I have two PVR250 cards in my box using the IVTV driver. From what
> I can tell Freevo will support these just fine right?

Yes, these work well.

> 3. How stable/reliable is the television recording? Basically I often
> have several shows airing at once that I need to record, some from my
> HDHomeRun devices some frmo my PVR250's. Is the recording of TV shows
> based on a schedule reliable and dependable?

This could be difficult in the short term with Freevo-1, it's next on my
todo list. AFAIK Freevo-2 has simultaneous recording support.

> 4. Is there anything else I should be aware of?

Not that I can think of. There are some people that have been with
Freevo and then to MythTV and back again. They would be the best to ask.
If you don't get a response try asking on the devel list.

> I look forward to leaving MythTV issues behind and move to Freevo :)
;-)

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problems with duplicate detection

2007-10-04 Thread Duncan Webb
Michael Brown wrote:
> Hi Folks!
> 
> Hoping someone can help me get duplicate detection going in the recordserver. 
>  If I enable it, I get the following errors in the log:
> 
> 2007-09-30 11:50:41,737 INFO new process watcher instance
> 2007-09-30 11:50:42,088 INFO recordserver.py (136) : PLUGIN_RECORD: 33
> 2007-09-30 11:50:42,093 INFO ivtv_record.py (67)  : ACTIVATING IVTV 
> RECORD PLUGIN
> 2007-09-30 11:50:42,096 INFO recordserver.py (1523): top of the minute in 
> 18 seconds
> 2007-09-30 11:51:00,241 INFO recordserver.py (281) : Got 
> ScheduledRecordings (version 2).
> 2007-09-30 11:51:24,716 INFO recordserver.py (671) : Duplicate detection 
> enabled
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in 
> requestReceived
> self.process()
>   File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in 
> process
> self.render(resrc)
>   File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in 
> render
> body = resrc.render(self)
>   File "/usr/lib/python2.4/site-packages/twisted/web/xmlrpc.py", line 117, in 
> render
> defer.maybeDeferred(function, *args).addErrback(
> ---  ---
>   File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 
> 107, in maybeDeferred
> result = f(*args, **kw)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1489, in xmlrpc_updateFavoritesSchedule
> (status, response) = self.updateFavoritesSchedule()
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1231, in updateFavoritesSchedule
> self.scheduleRecording(prog)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 710, in scheduleRecording
> (duplicateBool, duplicateReason) = self.checkDuplicateDetection(prog)
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 672, in checkDuplicateDetection
> if self.doesFavoriteAllowDuplicates(prog):
>   File "/usr/lib/python2.4/site-packages/freevo/helpers/recordserver.py", 
> line 1147, in doesFavoriteAllowDuplicates
> _debug_('DUP: %s'%fav.allowDuplicates, config.DINFO)
> exceptions.AttributeError: Favorite instance has no attribute 
> 'allowDuplicates'
> 
> Same thing happens if I enable 'onlyNew'.
> 
> I'm gessing that there is a database that has the favourites, and that the 
> schema doesn't have those fields.
> 
> Any idea how to fix it?  If it's a schema issue, should there be a function 
> to upgrade the db schema on freevo upgrades?

One solution is to turn off debugging as this is being caused by a bug
in a debug statement, :).

This is only a temp solution, can you raise a bug report of the tracker?
https://sourceforge.net/tracker/?func=add&group_id=46652&atid=446895

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Digital tuner with CableCard support?

2007-10-04 Thread Duncan Webb
Jon Morris wrote:
> I am looking to upgrade my cheap TV tuner card (Pinnacle Pro).  I would
> ultimately like to get something that will allow me to record HDTV from
> my digital cable provider.  They offer CableCards, but I am not having
> much luck finding a tuner card that accepts CableCards and is also
> supported under Linux.  Does anyone know of one?  I have heard that come
> 2009 our cable provider may stop their analog service, and require
> non-digital devices to use a digital to analog conversion box.  Because
> of that I would like to purchase a digital tuner card so I won’t have to
> do anything additional in 2009.

DVB-C should be supported under Linux, a quick google may help. I can't
suggest a specific card that will work.

> If not, will Freevo 2 work with two different types of tuner cards?  If
> I can’t get a digital card yet, I would like to buy something like a
> Hauppage (ivtv?) to get better quality.  I would use that as my primary
> device, and then use my old Pinnacle Pro (bttv) as the second tuner.

Both freevo-1 and freevo-2 support different types of TV cards, you can
quite happily use both in the same machine with out any problems.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo-users Digest, Vol 17, Issue 31

2007-10-04 Thread Duncan Webb
Sandro wrote:
> I've made quite a mess with apple files and links in the following folders:
> 
> /usr/share/pycentral/python-freevo/site-packages/freevo/video
> /usr/share/pycentral/python-freevo/site-packages/freevo/video/plugins
> /usr/lib/python2.4/site-packages/freevo/video
> /usr/lib/python2.4/site-packages/freevo/video/plugins
> /usr/share/pycentral/python-freevo/site-packages/freevo/plugins/
> /usr/lib/python2.5/site-packages/freevo/video/plugins
> 
> I don't understand why Freevo consists of such a mess with files
> shattered everywhere. I guess it doesn't matter when you're not having
> to fix things.

How have you installed them? Using python setup.py install?
If so then they are in the build directory which you can safely delete.

If you copied the files by hand then there will be a .pyc file too and
these need to be deleted.

> However I still get two or three variants of this message:
> 
> Traceback (most recent call last):
>   File "/usr/share/pycentral/python-freevo/site-packages/freevo/plugin.py",
> line 555, in __load_plugin__
> exec('import %s' % module)
>   File "", line 1, in 
> ImportError: No module named appletrailers
> 
> I think I literally messed it up. Think I'll back up local_conf.py and
> completely remove/reinstall Freevo.

Should be easy enough to clean up your mess! Find the files and remove
the appletrailer files.

find /usr/lib/python2.*/freevo /usr/share/pycentral/python-freevo/ \
 -name "appletr*" | xargs rm -v

Run the command without the | xargs rm -v first just to check what will
be deleted.

Then copy the files by hand to the correct location.

BTW freevo does not touch your local_conf.py.

>> Subject: Re: [Freevo-users] Problems loading plugins in 1.7.3
>> From: "Art S R" <[EMAIL PROTECTED]>
>>
>> Did you also try John's suggestion of placing the files in:
>> /usr/share/pycentral/python-freevo/site-packages/freevo/video/plugins/
>> (note that it's video/plugins)
>>
>> and leaving the local_conf.py entry as:
>> plugin.activate('video.appletrailers')
>>
>> This should place the Apple Trailers option under the Freevo Movies menu.
>>
>> Yes, I'm running Freevo 1.7.  However, even though I am able to get the
>> plugin loaded, I am not able to successfully download the trailers.  After
>> running for a minute or so, the plugin crashes Freevo.  I'll report this in
>> another thread.


Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weird font behaviour

2007-10-05 Thread Duncan Webb
[EMAIL PROTECTED] wrote:
> Hi everybody,
> 
> I'm having problems finding a Sans Serif font that supports multiple
> languages.
> 
> I have filenames with Japanese, Korean, Chinese, Russian, Arabic, Greek
> and Latin characters in them.
> 
> I tried DejaVuSans, Damase and FreeSans but I get boxes instead of
> Japanese, Korean and Chinese characters. I also tried sazanami, ukai and
> uming and in this case the Japanese, Korean and Chinese filenames are
> represented correctly, but I only get ugly boxes instead of Russian,
> Arabic and Greek characters.
> 
> The only free font that seems to support all of these scripts is Bitstream
> Cyberbit, but it's a Serif font and it looks rather ugly on screen. I
> tried Arial Unicode and everything looks perfect, unfortunately it's not
> free and I have to stick to free stuff.
> 
> The weird thing is that all the free fonts I mentioned above are capable
> of displaying all the scripts I need when I use them in applications other
> than freevo (i.e. OpenOffice under Gnome).
> 
> Does anyone have any idea as to way I get this strange behaviour in Freevo?

Not really strange freevo behaviour, it is just that the fonts your
using don't have all the possible glyphs that you need.

This leaves two, or may more, possibilities:

Buy a Unicode font

Merge two or more fonts into one font.

I suppose that you could also create you own font.

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with tv generic record plugin

2007-10-08 Thread Duncan Webb
Pirlouwi wrote:
> What is strange is that the command seems to be launched, but nothing
> is logged in the two log files:
> Here is some log from my linux:
> # ps -ef | grep record
> croisez  26313  4997  0 20:53 ?00:00:00 /bin/sh -c 
> /usr/share/freevo/record.sh E7 2807
> "/var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi"
>
> croisez  26316 26313  0 20:53 ?00:00:00 /bin/bash -x
> /usr/share/freevo/record.sh E7 2807
> /var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi
>
>
> # ls -l /tmp/freevo (snipped)
> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:51 recorder_stderr.log
> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:51 recorder_stdout.log
> -rw-r--r-- 1 rootroot 7026 2007-10-08 20:53 recordserver-0.log
> -rw-rw-r-- 1 croisez croisez  5032 2007-10-08 20:55 recordserver-1000.log
> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:53
> record.sh-stderr-1000.log
> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:53
> record.sh-stdout-1000.log
>
> I dont understand this behavior, because the record.sh script works
> very well when launched from a terminal, and it displays some
> informations that should appear inside the record.sh-stdout-1000.log file.
> In attachement, I joined my record.sh script.
> Best Regards,
> Pirlouwi.
>
> 2007/10/8, Pirlouwi <[EMAIL PROTECTED] >:
>
> Hello all, hello Duncan, and thx for your response.
>
> For sure, I do have echo commands inside my bash script, mainly
> because it is still in debug stage.
> Concerning the passed arguments, I know I give 3 args from inside
> freevo, so making an "echo $1 $2 $3" inside my script is enough.
> My problem is that I don't see any echo inside
> record.sh.stdout.log.  Despite the 2 log files are well created,
> the commands inside my record.sh seems not to being executed.
> ==> Is it possible that there is a problem/bug between the moment
> when freevo creates the 2 log files and the moment when it
> executes the VCR_CMD command? <==
>

What is your VCR_CMD in local_conf.py?

>
> BTW could you explain me the way python handle the code
> modification with respect to its execution cache? I had modified
> my local_conf.my, and every time I restarted freevo, it did not
> took my modif into account. I had been forced to reboot my linux
> for these mods to be taken into account. Is there a command to
> force the rebuild of that supposed freevo execution cache?
>

Every time freevo is started. Don't forget that the recording server
needs a restart after changing you local_conf.py too.
freevo recordserver stop
freevo recordserver start

I used to forget this.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] youtube plugin

2007-10-09 Thread Duncan Webb
vlad wrote:
> hello list,
> 
> is there a working youtube plugin available?
> i'm using freevo 1.7.3.

In svn there is a youtube plug-in for the webserver.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] youtube plugin

2007-10-09 Thread Duncan Webb
vlad wrote:
> hello,
> 
> when i start the webserver i get this message:
> "
> [EMAIL PROTECTED]:~ $ freevo webserver start
>   Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/helpers/webserver.py",
>   line 53, in 
>   from twisted.internet import app
>   ImportError: cannot import name app
> "
> hmm. what's that?
> anyone knows?

You need to install Twisted-2.4.0 and remove Twisted-2.5.0.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] youtube plugin

2007-10-09 Thread Duncan Webb
> hello again,
>
> i've downgraded twisted - everything is ok. but where can i find the
> youtube plugin? i've searched the svn repos for 30mins now.
> and is the plugin accessible through the freevo interface (_not_ the
> webinterface)?

src/www/htdocs/youtube.rpy

You will need to add the page to your personal www pages in local_conf.py
(PERSONAL_WWW_PAGE) or go there directly:
http://:8080/youtube.rpy

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] New webserver configuration tool and logging display

2007-10-10 Thread Duncan Webb
Pirlouwi wrote:
> Is it in svn version or in 1.7.3 already?

Only svn, it was done after 1.7.3 was released.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Problem with tv generic record plugin

2007-10-10 Thread Duncan Webb
Duncan Webb wrote:
> Pirlouwi wrote:
>> What is strange is that the command seems to be launched, but nothing
>> is logged in the two log files:
>> Here is some log from my linux:
>> # ps -ef | grep record
>> croisez  26313  4997  0 20:53 ?00:00:00 /bin/sh -c 
>> /usr/share/freevo/record.sh E7 2807
>> "/var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi"
>>
>> croisez  26316 26313  0 20:53 ?00:00:00 /bin/bash -x
>> /usr/share/freevo/record.sh E7 2807
>> /var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi
>>
>>
>> # ls -l /tmp/freevo (snipped)
>> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:51 recorder_stderr.log
>> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:51 recorder_stdout.log
>> -rw-r--r-- 1 rootroot 7026 2007-10-08 20:53 recordserver-0.log
>> -rw-rw-r-- 1 croisez croisez  5032 2007-10-08 20:55 recordserver-1000.log
>> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:53
>> record.sh-stderr-1000.log
>> -rw-rw-r-- 1 croisez croisez 0 2007-10-08 20:53
>> record.sh-stdout-1000.log
>>
>> I dont understand this behavior, because the record.sh script works
>> very well when launched from a terminal, and it displays some
>> informations that should appear inside the record.sh-stdout-1000.log file.
>> In attachement, I joined my record.sh script.
>> Best Regards,
>> Pirlouwi.
>>
>> 2007/10/8, Pirlouwi <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>>
>> Hello all, hello Duncan, and thx for your response.
>>
>> For sure, I do have echo commands inside my bash script, mainly
>> because it is still in debug stage.
>> Concerning the passed arguments, I know I give 3 args from inside
>> freevo, so making an "echo $1 $2 $3" inside my script is enough.
>> My problem is that I don't see any echo inside
>> record.sh.stdout.log.  Despite the 2 log files are well created,
>> the commands inside my record.sh seems not to being executed.
>> ==> Is it possible that there is a problem/bug between the moment
>> when freevo creates the 2 log files and the moment when it
>> executes the VCR_CMD command? <==
>>
> 
> What is your VCR_CMD in local_conf.py?

Have you fixed this?

If you VCR_CMD is something like:

VCR_CMD = ( 'record.sh' ... )
you could change it to either a string
VCR_CMD = 'record.sh %s %s %s' % (...)
or add bash to the first item:
VCR_CMD = ( '/bin/bash', 'record.sh', ... )

This should fix it.

BTW you don't need to convert the frequency as it can be passed as a
argument.

HTH
Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] New webserver configuration tool and logging display

2007-10-10 Thread Duncan Webb
> I've done some major updates to this and i'll try to get a patch
> together for svn later this week.

Don,

Have I updated all you previous patches in svn? I noticed that one could
have been missed.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Traceback 2 from config.py with todays rel-1 svn

2007-10-14 Thread Duncan Webb
Christian Lyra wrote:
> Hi
> 
> i´d like to add this error too:
> 
> Crash!
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 437, in ?
> plugin.init(splash.progress)
>   File "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 309, in
> init
> callback(int((float(current) / len(__all_plugins__)) * 100))
>   File "/usr/lib/python2.4/site-packages/freevo/main.py", line 231, in
> progress
> skin.draw('splashscreen', None)
>   File "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py",
> line 530, in draw
> a.draw(settings, object, menu, style, type, self.force_redraw)
>   File "/usr/lib/python2.4/site-packages/freevo/skins/main/area.py",
> line 270, in draw
> if config.DEBUG_SKIN:
> AttributeError: 'module' object has no attribute 'DEBUG_SKIN'

I think that you were just unlucky to pick up a revision between commits.

BTW you will need to run
freevo convert_config /path/to/local_conf.py
and
freevo convert_config /path/to/local_conf.py -w

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Bookmarker and xine traceback rel-1 revision 9982

2007-10-14 Thread Duncan Webb
John Molohan wrote:
> no event mapping for key PAUSE in context menu
> send button event BUTTON arg=PAUSE
> Crash!
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 472, in 
> 
> MainTread().run()
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 325, in run
> self.eventhandler(rc.get_event(True))
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 275, in 
> eventhandler
> if not rc.app()(event):
>   File "/usr/lib/python2.5/site-packages/freevo/video/plugins/xine.py", 
> line 369, in eventhandler
> return self.item.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/video/videoitem.py", 
> line 664, in eventhandler
> if self.plugin_eventhandler(event, menuw):
>   File "/usr/lib/python2.5/site-packages/freevo/item.py", line 438, in 
> plugin_eventhandler
> if e(self, event, menuw):
>   File 
> "/usr/lib/python2.5/site-packages/freevo/video/plugins/bookmarker.py", 
> line 177, in eventhandler
> item.elapsed = int(position)
> ValueError: invalid literal for int() with base 10: ''
> Stopping webserver plugin.

You need a recent xine for this to work, may not work with df_xine, not
sure.

Added a try block to catch this in bookmarker.py to svn, r9983.

Duncan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


<    1   2   3   4   5   6   7   8   9   10   >