Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-09 Thread Jim Duda
On 03/08/2011 09:17 AM, Adam Charrett wrote:
> 
> Sounds like this should be on the wiki if it isn't already, any one fancy
> adding it?
> 

It appears this information is already in the wiki.  I did look at the wiki
when this all started.  Did I miss it?  It's quite clear  sigh 

Thanks,

Jim


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-08 Thread Adam Charrett


On Tue, 8 Mar 2011, Jim Duda wrote:

> On 03/08/2011 04:31 AM, Stephen Rowles wrote:
>
>> You are missing something, or were missing something when you build
>> kaa.metadata. I've come across this before did you have the
>> libdvdread-devel&  dvdcss packages installed when you built and
>> installed kaa? I think if you go back and check the log output from
>> setup.py when you installed kaa.metadata you'll find that it didn't
>> build the DVD reading stuff.
>>
>> Try running:
>>
>> minfo -d 2 /dev/dvd
>>
>> Which will produce more debug output and should show if you don't have
>> the appropriate DVD reading libraries configured.
>>
>
> Stephen,
>
> Thank you for the pointer.  I was indeed missing libdvdread-devel.
> After rebuilding, mminfo reports properly and DVDs play again.
>
> room> sudo mminfo /dev/dvd | more
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> /dev/dvd
> |   type: DVD
> |subtype: video
> |  media: MEDIA_DISC
> |   mime: video/dvd
> | id: 2009082610112800STAR_TREK_XI_DOM
> |  label: STAR_TREK_XI_DOM
> | length: 258695.794
>
> Sweet!!
>
> Thanks,
>
> Jim

Sounds like this should be on the wiki if it isn't already, any one fancy 
adding it?

Cheers

Adam

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-08 Thread Jim Duda
On 03/08/2011 04:31 AM, Stephen Rowles wrote:

> You are missing something, or were missing something when you build
> kaa.metadata. I've come across this before did you have the
> libdvdread-devel&  dvdcss packages installed when you built and
> installed kaa? I think if you go back and check the log output from
> setup.py when you installed kaa.metadata you'll find that it didn't
> build the DVD reading stuff.
> 
> Try running:
> 
> minfo -d 2 /dev/dvd
> 
> Which will produce more debug output and should show if you don't have
> the appropriate DVD reading libraries configured.
> 

Stephen,

Thank you for the pointer.  I was indeed missing libdvdread-devel.
After rebuilding, mminfo reports properly and DVDs play again.

room> sudo mminfo /dev/dvd | more
libdvdread: Using libdvdcss version 1.2.10 for DVD access
/dev/dvd
|   type: DVD
|subtype: video
|  media: MEDIA_DISC
|   mime: video/dvd
| id: 2009082610112800STAR_TREK_XI_DOM
|  label: STAR_TREK_XI_DOM
| length: 258695.794

Sweet!!

Thanks,

Jim


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-08 Thread Stephen Rowles
On 08/03/2011 03:21, Jim Duda wrote:
> On 03/07/2011 11:23 AM, Adam Charrett wrote:
>
>>> lroom>   mminfo /dev/dvd
>>> /dev/dvd
>>> |   type: CD
>>> |subtype: data
>>> |  media: MEDIA_DISC
>>> |   mime: unknown/unknown
>>> | id: 2007083012392900SUNSHINE
>>> |  label: SUNSHINE
>>>
> Okay, I'm with you so far.  This specific DVD used to work with earlier
> versions of freevo.  This DVD can be read properly with lsdvd, and, I
> can play the DVD fine with xine outside of freevo.  I have checked other
> DVDs which worked with 1.9.0 and all return CD, data, using mminfo.
>
> So, I suspect there might be something different about kaa in how it
> is reading the discs with some recent changes?  Is this possible?
You are missing something, or were missing something when you build 
kaa.metadata. I've come across this before did you have the 
libdvdread-devel & dvdcss packages installed when you built and 
installed kaa? I think if you go back and check the log output from 
setup.py when you installed kaa.metadata you'll find that it didn't 
build the DVD reading stuff.

Try running:

minfo -d 2 /dev/dvd

Which will produce more debug output and should show if you don't have 
the appropriate DVD reading libraries configured.

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-07 Thread Jim Duda
On 03/07/2011 11:23 AM, Adam Charrett wrote:

>> lroom>  mminfo /dev/dvd
>> /dev/dvd
>> |   type: CD
>> |subtype: data
>
> This is the cause of your problem, the disc is being detected as a data
> disc rather than a video. Is this per-chance a dodgy copy of Sunshine?
>
>> |  media: MEDIA_DISC
>> |   mime: unknown/unknown
>> | id: 2007083012392900SUNSHINE
>> |  label: SUNSHINE
>>

Okay, I'm with you so far.  This specific DVD used to work with earlier
versions of freevo.  This DVD can be read properly with lsdvd, and, I
can play the DVD fine with xine outside of freevo.  I have checked other
DVDs which worked with 1.9.0 and all return CD, data, using mminfo.

So, I suspect there might be something different about kaa in how it
is reading the discs with some recent changes?  Is this possible?

lroom> lsdvd /dev/dvd
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Disc Title: SUNSHINE
Title: 01, Length: 01:47:21.033 Chapters: 21, Cells: 33, Audio streams: 
06, Subpictures: 04

Title: 02, Length: 00:03:43.276 Chapters: 04, Cells: 04, Audio streams: 
01, Subpictures: 00

Title: 03, Length: 00:18:59.310 Chapters: 09, Cells: 11, Audio streams: 
02, Subpictures: 00

Title: 04, Length: 00:06:26.276 Chapters: 02, Cells: 02, Audio streams: 
02, Subpictures: 00

Title: 05, Length: 00:04:14.000 Chapters: 02, Cells: 02, Audio streams: 
02, Subpictures: 00

Title: 06, Length: 00:01:20.310 Chapters: 02, Cells: 03, Audio streams: 
02, Subpictures: 00

Title: 07, Length: 00:01:00.233 Chapters: 02, Cells: 02, Audio streams: 
02, Subpictures: 00

Title: 08, Length: 00:02:36.176 Chapters: 02, Cells: 02, Audio streams: 
02, Subpictures: 00

Title: 09, Length: 00:02:34.300 Chapters: 02, Cells: 02, Audio streams: 
02, Subpictures: 00

Title: 10, Length: 00:00:50.043 Chapters: 03, Cells: 04, Audio streams: 
02, Subpictures: 00

Title: 11, Length: 00:04:53.020 Chapters: 03, Cells: 03, Audio streams: 
01, Subpictures: 01

Title: 12, Length: 00:03:21.186 Chapters: 04, Cells: 04, Audio streams: 
01, Subpictures: 00

Title: 13, Length: 00:38:29.200 Chapters: 22, Cells: 22, Audio streams: 
01, Subpictures: 01

Title: 14, Length: 00:02:09.000 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 15, Length: 00:02:45.166 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 16, Length: 00:01:33.186 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 00

Title: 17, Length: 00:01:48.000 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 00

Title: 18, Length: 00:01:32.010 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 19, Length: 00:01:39.020 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 20, Length: 00:01:52.010 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 21, Length: 00:02:01.186 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 22, Length: 00:02:12.000 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 23, Length: 00:02:20.176 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 24, Length: 00:02:54.053 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 25, Length: 00:01:55.166 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 26, Length: 00:01:47.020 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 27, Length: 00:01:17.020 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 28, Length: 00:01:41.010 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 29, Length: 00:02:36.010 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 30, Length: 00:02:22.166 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 31, Length: 00:01:55.000 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 32, Length: 00:01:17.186 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 33, Length: 00:02:07.010 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 34, Length: 00:01:43.000 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 35, Length: 00:02:19.186 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 36, Length: 00:03:01.000 Chapters: 03, Cells: 03, Audio streams: 
01, Subpictures: 01

Title: 37, Length: 00:07:48.110 Chapters: 03, Cells: 03, Audio streams: 
01, Subpictures: 01

Title: 38, Length: 00:07:05.076 Chapters: 03, Cells: 05, Audio streams: 
01, Subpictures: 01

Title: 39, Length: 00:01:58.033 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 01

Title: 40, Length: 00:00:09.176 Chapters: 02, Cells: 02, Audio streams: 
00, Subpictures: 00

Title: 41, Length: 00:00:14.166 Chapters: 02, Cells: 02, Audio streams: 
01, Subpictures: 00

Title: 42, Length: 00:00:00.176 Chapters: 01, Cells: 01, Audio streams: 
08, Subpictures: 12

Longest track: 01

Thanks,

Jim


--
What Y

Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-07 Thread Adam Charrett


On Mon, 7 Mar 2011, Jim Duda wrote:

> On 03/07/2011 07:35 AM, Adam Charrett wrote:

>> Nothing wrong here, but I suspect that Freevo is not detecting the disc
>> as a DVD, what does "mminfo /dev/dvd" say about the disc?
>
> lroom> mminfo /dev/dvd
> /dev/dvd
> |   type: CD
> |subtype: data

This is the cause of your problem, the disc is being detected as a data 
disc rather than a video. Is this per-chance a dodgy copy of Sunshine?

> |  media: MEDIA_DISC
> |   mime: unknown/unknown
> | id: 2007083012392900SUNSHINE
> |  label: SUNSHINE
>
> Thanks,
>
> Jim
>
For comparison here is the start of an  mminfo dump for a video dvd:
/dev/dvd
|   type: DVD
|subtype: video
|  media: MEDIA_DISC
|   mime: video/dvd
| id: 2007122619531400DAS0EUW1
|  label: DAS0EUW1
| length: 6426.38

Cheers

Adam

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-07 Thread Jim Duda
On 03/07/2011 07:35 AM, Adam Charrett wrote:
> 
> 
> On Sat, 5 Mar 2011, Jim Duda wrote:
> 
>> I'm having trouble playing DVDs with the new beta release.
>>
>> When I select a DVD to play, freevo does a "scan" of the 83 items on the 
>> DVD, then
>> lists the items, but I cannot play anything.
>>
>> I know that freevo is mounting the dvd because:
>>
>> lroom# mount | grep dvd
>> /dev/sr0 on /mnt/dvd type udf (ro,nosuid,nodev,relatime,utf8)
>>
>> I get these messages if I attempt to select VIDEO_TS after the scan:
>>
>> WARNING: mounting '/mnt/dvd/VIDEO_TS': mount: can't find /mnt/dvd/VIDEO_TS 
>> in /etc/fstab or /etc/mtab
>>
>>   File "/usr/lib/python2.6/site-packages/freevo/main.py", line 574, 
>> in
>> kaa.main.run()
> 
>> self._handle_play_item(menu, event)
>>   File "/usr/lib/python2.6/site-packages/freevo/menu.py", line 663, in 
>> _handle_play_item
>> action(arg=arg, menuw=self)
>>   File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 
>> 593, in play
>> self.__play(arg, menuw)
>>   File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 
>> 670, in __play
>> util.mount(os.path.dirname(self.filename))
>>   File "/usr/lib/python2.6/site-packages/freevo/util/fileops.py", line 418, 
>> in mount
>> traceback.print_stack()
> 
> 
> This looks like a bug, I think is should be trying to mount /mnt/dvd not
> /mnt/dvd/VIDEO_TS.

When I first select the DVD, instead of the DVD starting to play, freevo goes 
off
and does "Scanning, please stand by ... ".  I don't think that's what should 
happen.
After the scan, I get the DVD file listing, the first item being VIDEO_TS.  
When I select
VIDEO_TS, the above happens, but, I don't think I should have ever had the 
opportunity
to select VIDEO_TS since freevo should have invoked xine to play the DVD.

> 
>>
>> My local_conf.py has this:
>>
>> ROM_DRIVES = [ ('/mnt/dvd',   '/dev/dvd',   'DVD') ]  \
>>
>> My /etc/fstab has this:
>>
>> /dev/dvd   /mnt/dvdautoro,noauto,user,exec 0 0
>>
>> What am I doing wrong?
> 
> Nothing wrong here, but I suspect that Freevo is not detecting the disc
> as a DVD, what does "mminfo /dev/dvd" say about the disc?

lroom> mminfo /dev/dvd
/dev/dvd
|   type: CD
|subtype: data
|  media: MEDIA_DISC
|   mime: unknown/unknown
| id: 2007083012392900SUNSHINE
|  label: SUNSHINE

Thanks,

Jim



--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-07 Thread Adam Charrett


On Sat, 5 Mar 2011, Jim Duda wrote:

> I'm having trouble playing DVDs with the new beta release.
>
> When I select a DVD to play, freevo does a "scan" of the 83 items on the DVD, 
> then
> lists the items, but I cannot play anything.
>
> I know that freevo is mounting the dvd because:
>
> lroom# mount | grep dvd
> /dev/sr0 on /mnt/dvd type udf (ro,nosuid,nodev,relatime,utf8)
>
> I get these messages if I attempt to select VIDEO_TS after the scan:
>
> WARNING: mounting '/mnt/dvd/VIDEO_TS': mount: can't find /mnt/dvd/VIDEO_TS in 
> /etc/fstab or /etc/mtab
>
>  File "/usr/lib/python2.6/site-packages/freevo/main.py", line 574, in 
>kaa.main.run()

>self._handle_play_item(menu, event)
>  File "/usr/lib/python2.6/site-packages/freevo/menu.py", line 663, in 
> _handle_play_item
>action(arg=arg, menuw=self)
>  File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 593, 
> in play
>self.__play(arg, menuw)
>  File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 670, 
> in __play
>util.mount(os.path.dirname(self.filename))
>  File "/usr/lib/python2.6/site-packages/freevo/util/fileops.py", line 418, in 
> mount
>traceback.print_stack()


This looks like a bug, I think is should be trying to mount /mnt/dvd not 
/mnt/dvd/VIDEO_TS.

>
> My local_conf.py has this:
>
> ROM_DRIVES = [ ('/mnt/dvd',   '/dev/dvd',   'DVD') ]  \
>
> My /etc/fstab has this:
>
> /dev/dvd   /mnt/dvdautoro,noauto,user,exec 0 0
>
> What am I doing wrong?

Nothing wrong here, but I suspect that Freevo is not detecting the disc 
as a DVD, what does "mminfo /dev/dvd" say about the disc?

Cheers

Adam

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Trouble with DVD Play in 1.9.2.beta

2011-03-05 Thread Jim Duda
I'm having trouble playing DVDs with the new beta release.

When I select a DVD to play, freevo does a "scan" of the 83 items on the DVD, 
then
lists the items, but I cannot play anything.

I know that freevo is mounting the dvd because:

lroom# mount | grep dvd
/dev/sr0 on /mnt/dvd type udf (ro,nosuid,nodev,relatime,utf8)

I get these messages if I attempt to select VIDEO_TS after the scan:

WARNING: mounting '/mnt/dvd/VIDEO_TS': mount: can't find /mnt/dvd/VIDEO_TS in 
/etc/fstab or /etc/mtab

  File "/usr/lib/python2.6/site-packages/freevo/main.py", line 574, in 
kaa.main.run()
  File "/usr/lib/python2.6/site-packages/kaa/base/main.py", line 281, in run
loop(True)
  File "/usr/lib/python2.6/site-packages/kaa/base/main.py", line 205, in loop
notifier.step()
  File "/usr/lib/python2.6/site-packages/kaa/base/pynotifier/nf_generic.py", 
line 221, in step
if not timer[ CALLBACK ]():
  File "/usr/lib/python2.6/site-packages/kaa/base/timer.py", line 233, in 
__call__
super(Timer, self).__call__(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/kaa/base/nf_wrapper.py", line 83, in 
__call__
ret = super(NotifierCallback, self).__call__(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/kaa/base/callable.py", line 226, in 
__call__
return cb(*cb_args, **cb_kwargs)
  File "/usr/lib/python2.6/site-packages/kaa/base/event.py", line 192, in handle
handler(event)
  File "/usr/lib/python2.6/site-packages/kaa/base/event.py", line 146, in 
__call__
super(EventHandler, self).__call__(event)
  File "/usr/lib/python2.6/site-packages/kaa/base/nf_wrapper.py", line 83, in 
__call__
ret = super(NotifierCallback, self).__call__(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/kaa/base/callable.py", line 226, in 
__call__
return cb(*cb_args, **cb_kwargs)
  File "/usr/lib/python2.6/site-packages/freevo/main.py", line 298, in 
eventhandler
consumed = app.eventhandler(event)
  File "/usr/lib/python2.6/site-packages/freevo/menu.py", line 862, in 
eventhandler
self._handle_play_item(menu, event)
  File "/usr/lib/python2.6/site-packages/freevo/menu.py", line 663, in 
_handle_play_item
action(arg=arg, menuw=self)
  File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 593, 
in play
self.__play(arg, menuw)
  File "/usr/lib/python2.6/site-packages/freevo/video/videoitem.py", line 670, 
in __play
util.mount(os.path.dirname(self.filename))
  File "/usr/lib/python2.6/site-packages/freevo/util/fileops.py", line 418, in 
mount
traceback.print_stack()
cwd(arg=None, menuw=)
build(arg=None, menuw=)
cwd(arg=None, menuw=)
build(arg=None, menuw=)

My local_conf.py has this:

ROM_DRIVES = [ ('/mnt/dvd',   '/dev/dvd',   'DVD') ]  \

My /etc/fstab has this:

/dev/dvd   /mnt/dvdautoro,noauto,user,exec 0 0

What am I doing wrong?

Thanks,

Jim







 


--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users