I tried fooling around with permissions in the device files but that didn't help. I have a symbolic link from /dev/cdrom to /dev/hdb (my CD-ROM drive) and the permissions on that are read/write/execute for everyone. /dev/hdb is rw for root and nothing for all others on SuSE. On Mandrake the comparable device (/dev/scd0) seems to be read/execute for everyone. I tried changing the permissions on the SuSE box while logged in as root. I then logged out and logged back in as user "freevo" and found that the permissions for /dev/hdb had been reset to what they were to begin with. I did check to see that they had been set correctly when I was still logged in as root.

Your suggestion on checking these things during installation sounds good, but I think it would be more helpful to put exception handling code that would send error messages to the console at runtime. Clearly the code can recognize that I have a VCD in the drive; it just can't correctly figure out the number of chapters. Something must be happening that it doesn't like, and instead of giving a default menu and ignoring the problem it should give some kind of console message. By comparing messages produced by Mandrake (which works) and SuSE (which doesn't) I could diagnose the problem and fix it. Similarly, if it can't open the device for reading there should be a console message saying that. As it was before, the program just acted as if no CD had been loaded.

Thanks,

James Simmons


Gustavo Sverzut Barbieri wrote:


Dischi, Rob, Mike, Aubin, ... devs ...

Maybe "freevo setup" may check that and few more things and alert the
user:

* check if /dev/<devices> are readable by the user... use the ROM_MEDIA
autodetection to get possible devices...
* check if artsd is running and alert the user about using "arts" as
mplayer parameter or disable arts (if mplayer doesn't provide arts -ao)
* check if there is network connection (at least to cddb) and alert
user to disable network in local_config.py
* ??more?? maybe BTTV checking?

Anyone with some time do implement that?

Gustavo


--- James Simmons <[EMAIL PROTECTED]> escreveu: > I've been
poking around in the freevo source code and found file


vcdinfo.py in directory mmpython/disc and I think I understand why my

VCD menu isn't listing properly. It seems to be similar to the
problem I had when my CD wasn't recognized by freevo. This code reads the device file directly, seeks to a byte offset, and looks at what it
finds there. In Mandrake it has authority to do that, and apparently in
SuSE it still doesn't. When I changed SuSE to allow anyone to read the device freevo was able to detect that a CD had been inserted into the


drive, whereas initially it could not. Perhaps freevo needs to be
able to open the device for reading and writing (even though no writing
seems to be going on) to detect the menu items for a VCD.


I'm going to try this out tonight.

James Simmons


James Simmons wrote:




I have the same version of Freevo installed on two different computers, one running Mandrake 8.2 and the other running SuSE 8.2,


and I have noticed that the VCD menu works better on the Mandrake


box

than it does on the SuSE box.

First, some background. I have made many of my own VCDs. On these


VCDs I sometimes put more than one MPEG file. On my DVD players I


can use the "Skip" buttons to move between these files.

When I use one of these VCDs on Mandrake I see a menu that lists as


many items as I have MPEG files, plus one extra one at the


beginning.

I can choose any of these items and it will play the corresponding MPEG file. I can also play the first extra item and it will just


play

the first MPEG file, so there is no real difference between playing


the first item and the second item.

On the SuSE box things are different. There I ALWAYS see two


items:

the "extra" one at the beginning plus a second one that seems to represent ALL of the MPEG files combined. I can play either item


and

the effect is that I play through all of the MPEG files in


sequence.

Of course I can't skip ahead to a given item; I always have to


start

at the beginning of the first item and use the fast forward key to progress through the files.

Other than the extra item at the beginning, Mandrake seems to do exactly what I would want. I can't figure out why SuSE isn't


working

the same way. I have looked at the source code and I can't figure


out

where the VCD chapter menu is built.

Any hints would be appreciated.

James Simmons




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






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



_______________________________________________________________________ Desafio AntiZona: participe do jogo de perguntas e respostas que vai dar um Renault Clio, computadores, c�meras digitais, videogames e muito mais! www.cade.com.br/antizona


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







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

Reply via email to