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

2007-09-02 Thread Lucian Muresan
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.

Regards,
Lucian

-
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


[Freevo-users] fbxine AC3 passthrough

2007-09-02 Thread Lucian Muresan
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?

Regards,
Lucian

-
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'] (type 'list')

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):
 
 type 'exceptions.UnicodeDecodeError': '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 twisted.web.server.Site 
 instance at 0x857542c
 Locals
 resrc 
 __builtin__.GuideResource instance @ 0x92c792c __builtin__.GuideResource 
 instance at 0x92c792c
 self  
 twisted.web.server.Request instance @ 0x92ea3ec GET /guide.rpy HTTP/1.1
 /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 GET /guide.rpy HTTP/1.1
 Globals
 UnsupportedMethod class 'twisted.web.server.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 GET /guide.rpy HTTP/1.1
 /usr/share/freevo/htdocs/guide.rpy, line 247 in _render
 245
 246  rowdata.append(/tr)
 247  fv.res += string.join(rowdata, \n)
 248fv.tableClose()
 Locals
 rowdata   
 List instance @ 0x92eaccc
 tr class='chanrow'
 td class='channel'E\xe9n/td
 '/tr'
 fv
 www.web_types.HTMLResource instance @ 0x92c702c www.web_types.HTMLResource 
 instance at 0x92c702c
 Globals
 stringmodule 'string' from '/usr/lib/python2.5/string.pyc'
 
 type 'exceptions.UnicodeDecodeError': '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] webserver tv guide in freevo 1.7.3 does not work

2007-09-02 Thread Jody Gugelhupf
Hi duncan :)
I have treid what you said but it didn't work, this my current setting:

TV_CHANNELS = [('25.tvgids.nl', u'MTV', 'MTV'),
   ('-', u'TellSell', 'TellSell'),
   ('29.tvgids.nl', u'Discovery Channel', 'Discovery Channel'),
   ('35.tvgids.nl', u'TMF', 'TMF'),
   ('26.tvgids.nl', u'CNN', 'CNN'),
   ('17.tvgids.nl', u'TV5', 'TV5'),
   ('10.tvgids.nl', u'ZDF', 'ZDF'),
   ('91.tvgids.nl', u'Nick Comedy Central', 'The Box'),
   ('19.tvgids.nl', u'Eurosport', 'Eurosport'),
   ('27.tvgids.nl', u'Rai Uno', 'Rai Uno'),
   ('18.tvgids.nl', u'National Geographic', 'National Geographic'),
   ('32.tvgids.nl', u'TRTint', 'TRTint'),
   ('12.tvgids.nl', u'WDR', 'WDR'),
   ('-', u'upcinfo', 'upcinfo'),
   ('7.tvgids.nl', u'BBC1', 'BBC1'),
   ('8.tvgids.nl', u'BBC2', 'BBC2'),
   ('92.tvgids.nl', u'talpa', 'talpa'),
   ('9.tvgids.nl', u'ARD', 'ARD'),
   ('37.tvgids.nl', u'Net5', 'Net5'),
   ('34.tvgids.nl', u'Veronica', 'Veronica'),
   ('46.tvgids.nl', u'rtl7', 'rtl7'),
   ('36.tvgids.nl', u'sbs6', 'sbs6'),
   ('31.tvgids.nl', u'rtl5', 'rtl5'),
   ('4.tvgids.nl', u'rtl4', 'rtl4'),
   ('1.tvgids.nl', u'NED1', 'NED1'),
   ('2.tvgids.nl', u'NED2', 'NED2'),
   ('3.tvgids.nl', u'NED3', 'NED3'),
   ('5.tvgids.nl', u'een', 'een'),
   ('6.tvgids.nl', u'Ketnet/canvas', 'Ketnet/canvas'),
   ('112.tvgids.nl', u'TV Gelderland', 'TV Gelderland'),
   ('-', u'Euronews international', 'Euronews')]

and i get this error now:
web.Server Traceback (most recent call last):

type 'exceptions.UnicodeDecodeError': 'utf8' codec can't decode bytes in 
position 21-23: 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 @ 0x85759cc twisted.web.server.Site instance 
at 0x85759cc
Locals
resrc   
__builtin__.GuideResource instance @ 0x8776fec __builtin__.GuideResource 
instance at 0x8776fec
self
twisted.web.server.Request instance @ 0x857514c GET /guide.rpy HTTP/1.1
/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 @ 0x8776fec __builtin__.GuideResource 
instance at 0x8776fec
self
twisted.web.server.Request instance @ 0x857514c GET /guide.rpy HTTP/1.1
Globals
UnsupportedMethod   class 'twisted.web.server.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 @ 0x8776fec __builtin__.GuideResource 
instance at 0x8776fec
request 
twisted.web.server.Request instance @ 0x857514c GET /guide.rpy HTTP/1.1
/usr/share/freevo/htdocs/guide.rpy, line 247 in _render
245
246  rowdata.append(/tr)
247  fv.res += string.join(rowdata, \n)
248fv.tableClose()
Locals
rowdata 
List instance @ 0x9265bec
tr class='chanrow'
td class='channel'E\xe9n/td
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188756900 colspan=10,
style=Fata Morgana/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188760800 colspan=8,
style=Witse/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188763800 colspan=8,
style=In de gloria/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188765600 colspan=6,
style=Het journaal laat/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188767100 colspan=11,
style=Studio 1/td'
'/tr'
fv  
www.web_types.HTMLResource instance @ 0x8576d8c www.web_types.HTMLResource 
instance at 0x8576d8c
Globals
string  module 'string' from '/usr/lib/python2.5/string.pyc'
string.py, line 316 in join
314
315  
316  return sep.join(words)
317joinfields = join
Locals
words   
List instance @ 0x9265bec
tr class='chanrow'
td class='channel'E\xe9n/td
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188756900 colspan=10,
style=Fata Morgana/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188760800 colspan=8,
style=Witse/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188763800 colspan=8,
style=In de gloria/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188765600 colspan=6,
style=Het journaal laat/td'
u'td class=program onclick=guide_click(this, event) 
id=5.tvgids.nl:1188767100 colspan=11,

[Freevo-users] unable to display weather

2007-09-02 Thread Ljubomir Simin
Hi!

I'm unable to get weather plugin to work. Freevo downloads the info and maps 
(progress bar is moving), but no actual info is displayed, just NA, and 
question marks, instead of the real values. Here's the log:


2007-09-02 20:38:12,350 ERRORweather.py (415): failed attempting to load 
YIXX0006 radar map from cache
Weather download:  
http://www.tpfans.com/rss/weather.php?Citycode=YIXX0005Language=en - 0.7 sec
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.4 sec
Retrying [0] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.4 sec
Retrying [1] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 
0.5 sec
Retrying [2] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
Weather ERROR: failed attempting to download radar map from None
2007-09-02 20:42:26,516 ERRORweather.py (415): failed attempting to load 
YIXX0006 radar map from cache
2007-09-02 20:42:26,519 ERRORweather.py (415): failed attempting to load 
YIXX0005 radar map from cache


This is my entry in local_conf:

plugin.activate('weather', level=45)
PLUGIN_WEATHER_LOCATIONS = [
  (YIXX0006, 1, en, Novi Sad, Serbia),
  (YIXX0005, 1, en, Belgrade, Serbia)
]


Location codes are correct, as they work on Yahoo website. Any ideas?

-- 
Ljubomir Simin 
Registered Linux User #351181
http://counter.li.org 

-
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 Ljubomir Simin
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

/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
Here's the logfile:

file:///cdrom/Behemoth/Antichristian Phenomenon/01-01-Antichristian 
Phenomemon.mp3
not 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'





Another DVD with divx movies triggered event INPUT_ENTER crashed:

/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'
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 789, in 
build
menuw.pushmenu(item_menu)
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 379, in 
pushmenu
self.refresh()
  File /usr/lib/python2.5/site-packages/freevo/menu.py, line 407, in refresh
skin.draw('menu', self, self.menustack[-1])
  File /usr/lib/python2.5/site-packages/freevo/skins/main/main.py, line 527, 
in draw
a.draw(settings, object, menu, style, type, self.force_redraw)
  File /usr/lib/python2.5/site-packages/freevo/skins/main/area.py, line 196, 
in draw
self.update_content()
  File /usr/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 /usr/lib/python2.5/site-packages/freevo/plugins/buttonbar.py, line 
172, in draw
actions = self.get_actions(menu)
  File /usr/lib/python2.5/site-packages/freevo/plugins/buttonbar.py, line 
318, in get_actions
for a in p.actions(menu.selected):
  

Re: [Freevo-users] fbxine AC3 passthrough

2007-09-02 Thread Lucian Muresan
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.

Lucian

-
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] unable to display weather

2007-09-02 Thread Elizabeth Dodd
On Mon, 3 Sep 2007, Ljubomir Simin wrote:
 Hi!

 I'm unable to get weather plugin to work. Freevo downloads the info and
 maps (progress bar is moving), but no actual info is displayed, just NA,
 and question marks, instead of the real values. Here's the log:


 2007-09-02 20:38:12,350 ERRORweather.py (415): failed attempting to
 load YIXX0006 radar map from cache
 Weather download:
 http://www.tpfans.com/rss/weather.php?Citycode=YIXX0005Language=en - 0.7
 sec Weather download: 
 http://www.weather.com/weather/map/YIXX0005?from=LAPmaps - 0.4 sec
 Retrying [0] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
 Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
 - 0.4 sec
 Retrying [1] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
 Weather download:  http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
 - 0.5 sec
 Retrying [2] http://www.weather.com/weather/map/YIXX0005?from=LAPmaps
 Weather ERROR: failed attempting to download radar map from None
 2007-09-02 20:42:26,516 ERRORweather.py (415): failed attempting to
 load YIXX0006 radar map from cache
 2007-09-02 20:42:26,519 ERRORweather.py (415): failed attempting to
 load YIXX0005 radar map from cache


 This is my entry in local_conf:

 plugin.activate('weather', level=45)
 PLUGIN_WEATHER_LOCATIONS = [
   (YIXX0006, 1, en, Novi Sad, Serbia),
   (YIXX0005, 1, en, Belgrade, Serbia)
 ]


 Location codes are correct, as they work on Yahoo website. Any ideas?

If I look at that URL I see nothing. A clean white browser page.
I guess that Freevo sees the same as me.

-- 
  We are not anticipating any emergencies.

-
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