[Freevo-users] Re: dvd-problem with latest mmpython/freevo

2004-05-14 Thread Dirk Meyer
Jaap Struyk wrote:
 
 except ImportError:
pass
 
 to 
 
 except ImportError, e
print e

 root:~# python /usr/lib/python2.3/site-packages/mmpython/mediatest.py
 /dev/dvd 
 Traceback (most recent call last):
   File /usr/lib/python2.3/site-packages/mmpython/mediatest.py, line
 53, in ?
 from mmpython import *
   File /usr/lib/python2.3/site-packages/mmpython/__init__.py, line 140
 except ImportError, e

Sorry:

except ImportError, e:
print e

the : was missing.


Dischi

-- 
Hi! Dave's answering machine is broken. This is his refrigerator.
Please speak very slowly, and I'll stick your message to myself with
one of these magnets.


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: dvd-problem with latest mmpython/freevo

2004-05-14 Thread Dirk Meyer
Matthew Bettencourt wrote:
 [EMAIL PROTECTED] freevo]$ python
 /usr/lib/python2.2/site-packages/mmpython/mediatest.py /dev/dvd
 Trying video/vcd
 Trying audio/cd
 Trying cd/unknown
 filename : /dev/dvd

That's the bug. For some reason mmpython is not trying
video/dvd. Since it is no vcd or audio cd, it's a normal data disc
(cd/unknown) 


Dischi

-- 
In a world of freedom, why do some people use windows and gates?


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Re: dvd-problem with latest mmpython/freevo

2004-05-14 Thread Jaap Struyk
Op vr 14-05-2004, om 11:12 schreef Dirk Meyer:

 except ImportError, e:
 print e
 
 the : was missing.

Don't say sorry, I should: After six years of gnu/linux I still havent
found out how vi works ;-) (so python...)

I think I found the relevant line in the output:
- No module named lsdvd
The rest is fine (so is lsdvd itself)
One thing do, there's no lsdvd in disc, shouldn't there be one?

root:~# python /usr/lib/python2.3/site-packages/mmpython/mediatest.py
/dev/dvd 
application/pcm registered
application/m4a registered
video/avi registered
video/mpeg registered
video/asf registered
video/quicktime registered
image/jpeg registered
image/png registered
image/tiff registered
video/vcd registered
video/real registered
application/ogg registered
application/mkv registered
video/vcd registered
audio/cd registered
No module named lsdvd
video/dvd registered
cd/unknown registered
audio/mp3 registered
text/plain registered
application/ogg registered
application/flac registered
Trying video/vcd
Trying audio/cd
Trying cd/unknown
filename : /dev/dvd
medium is: CD

type: CD
subtype: data
url: file:///dev/dvd
id: 1999073001370600TITANIC_PAL_DISC1
label: TITANIC_PAL_DISC1
Track list:
-- 
Groetjes Japie



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2

2004-05-14 Thread johnm
I've updated the appletrailers plugin. Try the attached version.


On Thu, 2004-05-13 at 13:54, Robert Winder wrote:
 same here with a freevo version somewhere between  1.4 and  1.5. The
 format of the web page is changed i think.
 
 http://www.apple.com/trailers/
 
 Got no idea how that page looked like before but looking in the
 appletrailer.py code it looks somewhat similar. I got no idea who
 wrote that plugin all i now it's not supported with freevo. So if the
 person who made that plugin can have a quick look into it i suppose it
 good be easily updated.
 
 Personally i am not sure what to look for and it would probably take
 ages to update it .. ;-)
 
  /Robert 
 
 Thursday, May 13, 2004, 1:50:34 PM, johnm wrote:
 
  I hadn't tried this plugin before but it doesn't appear to be
  functioning. Whether I browse by title or studio both return 'This
  directory is empty'. Anyone got this working either in 1.5 or earlier?
  Any ideas?
 
  Johnm.
 
 
 
  ---
  This SF.Net email is sponsored by: SourceForge.net Broadband
  Sign-up now for SourceForge Broadband and get the fastest
  6.0/768 connection for only $19.95/mo for the first 3 months!
  http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
  ___
  Freevo-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 
 
 
   
  
 
 
 
 ---
 This SF.Net email is sponsored by: SourceForge.net Broadband
 Sign-up now for SourceForge Broadband and get the fastest
 6.0/768 connection for only $19.95/mo for the first 3 months!
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 
#if 0 /*
# ---
# appletrailers.py - Plugin for streaming trailers from apple.com
# ---
#
# Notes: This code is still beta in need of beta-testers
#
#Add plugin.activate('video.appletrailers') in local_conf.py
#to activate
#
#
# Todo:  - use a library to join urls
#- make sure alle entries on the same level are unique
#- add Browse by Category
#- put the state_-functions in a separate namespace
#- cache movie-titles for every studio
#- add more progressbars

import os

import config
import plugin
import menu
import stat
import time
import re
import urllib
import string
import util.fileops
import util.misc

from item import Item
from video.videoitem import VideoItem
from gui.ProgressBox import ProgressBox

APPLE_URL = 'http://www.apple.com/'
APPLETRAILERS_URL = 'http://www.apple.com/trailers/'
MAX_CACHE_AGE = (60 * 60) * 8 # 8 hours

# regexps
re_excl_start = re.compile('h3Trailers Exclusive:/h3', re.IGNORECASE)
re_excl_end = re.compile('h3Newest Trailers:/h3', re.IGNORECASE)

re_newest_start = re.compile('h3Newest Trailers:/h3', re.IGNORECASE)
re_newest_end = re.compile('h420th Century Fox/h4', re.IGNORECASE)

re_this_week_start = re.compile('!-- BEGIN THIS WEEKS FILMS HERE --', re.IGNORECASE)
re_this_week_end = re.compile('!-- END THIS WEEKS FILMS HERE --', re.IGNORECASE)

re_last_week_start = re.compile('!-- BEGIN LAST WEEKS FILMS HERE --', re.IGNORECASE)
re_last_week_end = re.compile('!-- END LAST WEEKS FILMS HERE --', re.IGNORECASE)

re_studios_start = re.compile('h420th Century Fox/h4', re.IGNORECASE)
re_studios_links = re.compile(r'''
^\s+a \s+ href=
(?Purl[^]+)

(?Ptitle[^]+)
/abr
\s*$
''', re.IGNORECASE | re.VERBOSE)
re_studios_end = re.compile(
'h4Complete Movie Trailer Archive listed by Studio/h4', re.IGNORECASE)

re_trailer_links = re.compile(r'''
a \s+ href=(?Purl[^]+)
(?Ptitle[^]+?):?/a
''', re.IGNORECASE | re.VERBOSE)

re_studio_names_start = re_studios_end
re_studio_names = re.compile(r'''
a \s href=/trailers/
(?Purl.*?)

(?Pname.*?)
/a
''', re.IGNORECASE | re.VERBOSE)
re_studio_names_end = re.compile('Movie Trailer Comments/Suggestions', re.IGNORECASE)

re_studio_trailer_links = re.compile(r'''
a \s+ href=
(?Purl.*?)

(?Pname.*?)
/a
\s+ - \s+ \d+:\d+
br
''', re.IGNORECASE | re.VERBOSE)


class PluginInterface(plugin.MainMenuPlugin):

A freevo interface to http://www.apple.com/trailers

plugin.activate('video.appletrailers')

def __init__(self):
plugin.MainMenuPlugin.__init__(self)

def items(self, parent):
return [ BrowseBy(parent) ]


class TrailerVideoItem(VideoItem):
def __init__(self, name, size, url, parent):
VideoItem.__init__(self, url, parent)
if size == 'one_size':
self.name = name
else:
self.name = '[%s] %s' % (size, name)
self.type = 'trailers'


class TrailerSize(Item):
def __init__(self, name, url, parent):

Re: [Freevo-users] Appletrailers plugin Freevo 1.5rc2

2004-05-14 Thread Robert Winder
Thanks, much appreciated..

Working fine now. ;-)


 /Robert 

Friday, May 14, 2004, 6:01:25 PM, johnm wrote:

 I've updated the appletrailers plugin. Try the attached version.


 On Thu, 2004-05-13 at 13:54, Robert Winder wrote:
 same here with a freevo version somewhere between  1.4 and  1.5. The
 format of the web page is changed i think.
 
 http://www.apple.com/trailers/
 
 Got no idea how that page looked like before but looking in the
 appletrailer.py code it looks somewhat similar. I got no idea who
 wrote that plugin all i now it's not supported with freevo. So if the
 person who made that plugin can have a quick look into it i suppose it
 good be easily updated.
 
 Personally i am not sure what to look for and it would probably take
 ages to update it .. ;-)
 
  /Robert 
 
 Thursday, May 13, 2004, 1:50:34 PM, johnm wrote:
 
  I hadn't tried this plugin before but it doesn't appear to be
  functioning. Whether I browse by title or studio both return 'This
  directory is empty'. Anyone got this working either in 1.5 or earlier?
  Any ideas?
 
  Johnm.
 
 
 
  ---
  This SF.Net email is sponsored by: SourceForge.net Broadband
  Sign-up now for SourceForge Broadband and get the fastest
  6.0/768 connection for only $19.95/mo for the first 3 months!
  http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
  ___
  Freevo-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/freevo-users
 
 
 
 
   
  
 
 
 
 ---
 This SF.Net email is sponsored by: SourceForge.net Broadband
 Sign-up now for SourceForge Broadband and get the fastest
 6.0/768 connection for only $19.95/mo for the first 3 months!
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users
 




  
 



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] stumped with 1.5

2004-05-14 Thread Georg Martius
Hi guys,
as I wrote before I had the same problems and my guess was probably right. 
I didn't use the runtime and installed the python modules from my 
distribution and the other dependencies by hand. (See INSTALL) Now it runs!

There is just one problem if I run it with german local. I get an unicode 
decoding error if there is any special character somewhere. Someone else 
had the same problems with frensh I read on the list, but there was no 
respond. Is there any hope of getting this fixed? You can also point my to 
the source and give my some advice and I will try to fix it.

Best regards,
 Georg
On Thu, 13 May 2004 08:58:35 -0600, Joe Piche [EMAIL PROTECTED] 
wrote:

I think this is actually a bug in glibc that is triggered by the use of
LD_PRELOAD in the freevo runtime to load specific dlls from the runtime
directory. It should've worked when you did a full install, so I'm not
sure exactly what's going on.
It isn't real easy for me to troubleshoot this since I'm running RH9
with kernel 2.4, so I've just purchased VMware for Linux so I can
install Mandrake 10 without messing around with new partitions and
rebooting.
Does 2.6.3 come with Mandrake 10? Have you done any other custom
installations/upgrades of it (I know you wrote that you haven't, but I
want to make sure)?
Its pretty much and install off of the cd's, and a update from the web
servers. The only thing that i added was drivers for my wireless. I also 
did
a custom kernel (only changes where from generic i586 to p4, and enabling
the SiSfb instead of vesafb)

And yes, 2.6.3 is in the distribution.
I had figured that if I do the quick install, it should work, but its 
hosed
too :-( which kinda suprised me.

Thanks!


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] webserver media libary bug + ivtv issues

2004-05-14 Thread Mike Ruelle
Did i mention I hate Unicode? well I do. But i just commited a fix. I
tested with the Char you had a problem with and now it seems to work for
me. But due to vagaries in Unicode i dare not say more than that. Try
again please with a cvs dated may 15 or later,

-- 
Mike Ruelle [EMAIL PROTECTED]

On Mon, 2004-03-22 at 14:04, Robert Winder wrote:
 hi,
 
 Mike thanks for fixing the multiple dir prob in library.rpy but there
 is still an unicode prob one level deeper.
 
 Entering a mp3 dir with some é chars results in
 
 
 web.Server Traceback (most recent call last):
 exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0x94 in position 4: 
 ordinal not in range(128)
 
 /usr/lib/python2.3/site-packages/twisted/web/server.py, line 159 in process
 157try:
 158  resrc = self.site.getResourceFor(self)
 159  self.render(resrc)
 160except:
 Selfsite twisted.web.server.Site instance @ 0x40c8638c
  twisted.web.server.Site instance at 0x40c8638c 
 
 Localsresrc __builtin__.LibraryResource instance @ 0x40fef88c
  __builtin__.LibraryResource instance at 0x40fef88c 
 self twisted.web.server.Request instance @ 0x4106068c
  GET /library.rpy?media=musicdir=/media/audio/Jazz%20Tunes HTTP/1.1 
 
 /usr/lib/python2.3/site-packages/twisted/web/server.py, line 166 in render
 164  def render(self, resrc):
 165try:
 166  body = resrc.render(self)
 167except UnsupportedMethod, e:
 Localsresrc __builtin__.LibraryResource instance @ 0x40fef88c
  __builtin__.LibraryResource instance at 0x40fef88c 
 self twisted.web.server.Request instance @ 0x4106068c
  GET /library.rpy?media=musicdir=/media/audio/Jazz%20Tunes HTTP/1.1 
 
 GlobalsUnsupportedMethod class twisted.web.server.UnsupportedMethod at 0x40c754ac 
 
 /usr/local/freevocvs/src/www/web_types.py, line 137 in render
 135  return 'h1401 Authentication required/h1'
 136else:
 137  return self._render(request)
 138
 Localsself __builtin__.LibraryResource instance @ 0x40fef88c
  __builtin__.LibraryResource instance at 0x40fef88c 
 request twisted.web.server.Request instance @ 0x4106068c
  GET /library.rpy?media=musicdir=/media/audio/Jazz%20Tunes HTTP/1.1 
 
 /usr/local/freevocvs/src/www/htdocs/library.rpy, line 410 in _render
 408  # get me the directories to output
 409  directorylist = util.getdirnames(action_dir)
 410  for mydir in directorylist:
 411mydir = Unicode(mydir)
 Localsdirectories List instance @ 0x40fef74c
 ('JAZZ', '/media/audio/Jazz Tunes')
 ('POP', '/media/audio/Pop Tunes')
 ('INTERNET-RADIO', '/media/audio/Inet radio') 
 action_dir u'/media/audio/Jazz Tunes' 
 
 Globalsutil module 'util' from '/usr/local/freevocvs/src/util/__init__.pyo' 
 
 /usr/local/freevocvs/src/util/fileops.py, line 90 in getdirnames
 88
 89  try:
 90dirnames = [ dirname + dname for dname in os.listdir(dirname) if \
 91   os.path.isdir(dirname + dname) and \
 Localsdname 'Esbj\x94rn Svensson Trio - Plays Monk' 
 dirname u'/media/audio/Jazz Tunes/' 
 
 Globalsos module 'os' from '/usr/lib/python2.3/os.pyo' 
 
 
 /Robert
 
 
 
 
   
  
 
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users




---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] mplayer pauses (freezes) for a 5-10s

2004-05-14 Thread Ivan Pantovic



This is a quite weird loking problem .. and anoing 
too... 

I'm building freevo on a Shuttle SP51G with P4 
Celeron 1.7 and 256 Mb RAM 120Gb HDD and so on ... VGA is Matrox G400 and the 
picture is excellent using directfb on a second head. I'm also using PCTV tuner 
with his IR remote and it's working like a charm (dough i have a conflict with 
some commands from my samsung tv remote but that just need ironing 
out)

problem manifestation is:

while movie is playing ... picture (and audio) 
pauses for a moment, then breefly after some time (it is sometimes 2s or 10s 
there is no pattern) start playing again after obvious resinhronization (video 
starts fast and then slows down until sync with audio, audio continues normaly) 
then everything is fine for a while (again it is never the same ammount of time 
.. 20-30-40minutes then it happens again)

i noted so far that CPU usage for mplayer while 
this is happening sky rocket to full 99% CPU usage. (that is only what i could 
find out)

What i tried so far:

First my guess was mplayer and his way of fine time 
sincronization. I tried turning of the RTC timer, (using soft timer then of 
coursedisabling it completly). After that I suspected the onboard SiS 
chipset and integrated audio i810 ac97 so i pulled out my PCTV card from the 
other PCI slot and inserting SoundBlaster Live it happens again. Then i returned 
to mplayer and tried out some things like using Alsa instead of OSS, using SDL 
for audio output like mplayer documentation suggested.
After a while i realised something else  hm .. 
maybe cpu termal throttlinglower cpu speed and that causes mplayer to use 
it so much ..
I tryed no-hlt,noapic apic off ..and so 
on...I also tryed to monitor temperature when pause occursnothing 
and then i noticed it.

When i run mplayer from a cmd line it never happens 
.. only while i'm playing video from freevo gui. Why!? What is so different when 
i start it from freevo? What causes mplayer to use 99% of CPU and how to debug 
it? Mplayer logs show just desync .. nothing else .. , what causes mplayer to 
pauses?

Is there anyone else that is having this exact 
problem and how to workaround it?




Re: [Freevo-users] integrated video motherboards

2004-05-14 Thread skeeterskip
So, you don't notice any messed up video on tv while
playing movies?

--- David Guerizec [EMAIL PROTECTED] wrote:
 skeeterskip wrote:
  Some motherboards have rca video out built into
  motherboard.
  
  Has anyone tried any of these boards such as Asus
  P4SGX-MX. Are any of them compatible with linux?
 
 I've got an Asus Pundit barebone (P4S8L), and it has
 the RCA video out.
 The graphic card is an SiS 650, and all works fine
 on linux (I've even 
 set up Xinerama on my TV and a monitor).
 
 The drivers and resources for the SiS graphic
 chipsets:
 http://www.winischhofer.net/linuxsisvga.shtml
 
 
 BR
 
 David
 
 

---
 This SF.Net email is sponsored by Sleepycat Software
 Learn developer strategies Cisco, Motorola, Ericsson
  Lucent use to deliver
 higher performing products faster, at low TCO.

http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/freevo-users





__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users