[Freevo-devel] Fwd: [xine-devel] Proposal for a common D-Bus interface for media players

2006-12-04 Thread mike lewis

Are you [freevo developers] interested in this?

Mike

-- Forwarded message --
From: Rafaël Carré <[EMAIL PROTECTED]>
Date: Dec 5, 2006 7:42 AM
Subject: [xine-devel] Proposal for a common D-Bus interface for media players
To: [EMAIL PROTECTED], gnome-multimedia@gnome.org,
[EMAIL PROTECTED], [EMAIL PROTECTED]


Hello,

I'm a developer of VLC Media Player [1]

I've been working recently of a D-Bus [2] control interface for VLC,
to permit other applications to interact with VLC.
This implements basic functions such as:
   - playback control (Play/Pause/Next..)
   - information on medias (Meta-data/Length)
   - playlist editing (Add new elements to play)

I've been looking at how other media players already implemented that,
and I thought all their interfaces were highly redundant, and could
benefit of implementing a single, common, shared interface.

That would let developers use this interface in their programs, and
let their users decide of which media player they wanna use. All about
FREEDOM.

A developer of bmp-x [3], Milosz Derezynski[4], already had this idea
more than one year ago, so this is not very new. You can find his
work, the MPRIS (Media Player Remote Interface Specification) at [5].

I've copied this specification on the videolan wiki [6], and modified
it to my needs. I tried to keep it as general as possible. However
this still needs more work, and comments.

This is why i'm reaching you, developers of some media players, to
comment what i've done or work with me, until that specification
fulfills your needs, and can be used in a real world.

This specification should stay as generic as possible, because media
players that want to make specific methods available with D-Bus can do
it through their specific interface.

For example, basic methods would be available on the service
org.freedesktop.MediaPlayer and VLC would make streaming methods
available on the service org.videolan.vlc. So, a basic control applet
for the KDE panel originally written for amarok would be able to
control VLC, and a complex pygtk script would control streaming
features of VLC.


I'm asking you to read [6].
I strongly encourage you to edit the wiki and send me your comments.
However, if D-Bus is something you're interested in but don't have
time to work on, please let me know with a quick message.


Thanks for taking the time to read this message, and thanks to Milosz
Derezynski for his work on MPRIS, and having pushed me to work on
that.

[1]http://www.videolan.org/vlc
[2] http://dbus.freedesktop.org
[3] http://bmpx.beep-media-player.org
[4] http://bmpx.beep-media-player.org/site/User:Mderezynski
[5] http://bmpx.beep-media-player.org/site/MPRIS
[6] http://wiki.videolan.org/index.php/DBus-spec

--
Rafaël Carré



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
xine-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xine-devel


pgps4FDB1TxoZ.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Using encoding server

2006-12-04 Thread Duncan Webb
mike lewis wrote:
> On 12/4/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
>> Evan Hisey wrote:
>>> Agree with mike on this one or even for converting TV mpegs to DVD
>>> suitable ones. After looking at the encoder menu, it looks like some
>>> thing that could be configured with encoding options in local_conf.py.
>>> Or at least disable/enable only certain formats. For example the
>>> version of MPlayer that I compile for slackware does not seem to have
>>> xvid encoding available( looking in to fixing this).
>>>
>>> Evan
>>>
>>> On 12/3/06, mike lewis <[EMAIL PROTECTED]> wrote:
 On 12/3/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Evan Hisey wrote:
>> Duncan-
>>   How do you use the encoding server? I have, i think all the plugins
>> loaded and the idlebar says it is running but has no jobs.
> Only works for mpeg files and DVDs, doesn't make sense for avi files and
> maybe other video types.
>
 I disagree.  This is a good feature to drop the size of any recording
 or already re-encoded recording to something ipod'able.
>> So you would like to re-encode an avi to an avi, or what is the
>> container for ipods?
>>
> I don't have an ipod ;-).  But, I do have a DVD burner so burning from
> avi to dvd is something I would like right now..  But someone on the
> user list was asking about them?  Or was that you?
> 
>> I have been thinking about changing the menu to act a bit like
>> favourites  on the TV menu, i.e. sub-menus for each item.
>>
> I tried hacking on the encoding server about 14 months ago.  I tried
> to extend the menu show you could configure your options.  The idea
> was to  have a selection of preset options that you could scroll
> though and select, like file type, screen resolution, audio stream
> type; and then hit go.
> 
> However..  I failed miserably and also lost the code ;-).

The encodingcore takes as an argument a tuple which passes the settings,
this need to be changed to a dictionary to allow more flexibility. I
would like to have the choice of the video container, avi, mkv, the
choice of audio, mp2, mp3, ogg, the choice of bit-rates and the choice
of encoder. AFAIK ipods like x264. :)

den_RDC wrote the original code and I've hacked it to work in freevo-1
and added re-encode. From this work it should not be too hard to do but
it is a biggish job.

> Would be very impressed and thankfull to anyone who could make
> something similar..

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Using encoding server

2006-12-04 Thread mike lewis
On 12/4/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> Evan Hisey wrote:
> > Agree with mike on this one or even for converting TV mpegs to DVD
> > suitable ones. After looking at the encoder menu, it looks like some
> > thing that could be configured with encoding options in local_conf.py.
> > Or at least disable/enable only certain formats. For example the
> > version of MPlayer that I compile for slackware does not seem to have
> > xvid encoding available( looking in to fixing this).
> >
> > Evan
> >
> > On 12/3/06, mike lewis <[EMAIL PROTECTED]> wrote:
> >> On 12/3/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
> >>> Evan Hisey wrote:
>  Duncan-
>    How do you use the encoding server? I have, i think all the plugins
>  loaded and the idlebar says it is running but has no jobs.
> >>> Only works for mpeg files and DVDs, doesn't make sense for avi files and
> >>> maybe other video types.
> >>>
> >> I disagree.  This is a good feature to drop the size of any recording
> >> or already re-encoded recording to something ipod'able.
>
> So you would like to re-encode an avi to an avi, or what is the
> container for ipods?
>
I don't have an ipod ;-).  But, I do have a DVD burner so burning from
avi to dvd is something I would like right now..  But someone on the
user list was asking about them?  Or was that you?

> I have been thinking about changing the menu to act a bit like
> favourites  on the TV menu, i.e. sub-menus for each item.
>
I tried hacking on the encoding server about 14 months ago.  I tried
to extend the menu show you could configure your options.  The idea
was to  have a selection of preset options that you could scroll
though and select, like file type, screen resolution, audio stream
type; and then hit go.

However..  I failed miserably and also lost the code ;-).

Would be very impressed and thankfull to anyone who could make
something similar..

Mike
> Duncan.
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] Patch for ivtv_xine_tv

2006-12-04 Thread Evan Hisey
Has this ever made in to the feature tracker? or the SVN?

Evan

On 12/3/06, Justin Wetherell <[EMAIL PROTECTED]> wrote:
> Can someone re-send this patch, i'd like to give it a try.
>
>
> On 11/29/06, Paul Sijben <[EMAIL PROTECTED]> wrote:
> > I did not see the original mail come by. Could someone please resend
> > that one?
> >
> > Paul
> >
> > Richard van Paasen wrote:
> > > Havaar,
> > >
> > > Great feature, it should indeed be added to the 1.6.0 branch. Duncann is
> > > maintaining the 1.x tree of Freevo and he's the one that includes
> patches.
> > >
> > > Please submit your patch to sourceforge. You can open a feature request
> > > and attach your patch on:
> > >
> http://sourceforge.net/tracker/?group_id=46652&atid=446898
> > >
> > > Of course I can do it for you if you want, but the honours are yours :-)
> > >
> > > Richard.
> > >
> > > Haavar Valeur wrote:
> > >> Hi.
> > >> I attached a simple patch for ivtv_xine_tv plugin. The patch adds
> > >> support setting the channel higher than 9 with the numeric inputs on
> > >> the remote.
> > >>
> > >> What this code does is multiplying the previous input with 10 if the
> > >> next input happened within 3 seconds. The effect of this is that the
> > >> channel is set to 32 if you press 3 and then 2 within 3 seconds.
> > >>
> > >> The patch is made for the code included in freevo-1.6.0.
> > >>
> > >> I hope you can include this in your code.
> > >>
> > >> Best regards
> > >> Haavar
> > >>
> > >
> > >
> > >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Freevo-devel mailing list
> > > Freevo-devel@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
> >
> > --
> > Paul Sijben mailto: [EMAIL PROTECTED]
> > Amersfoort  http://www.sijben.net
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Freevo-devel mailing list
> > Freevo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freevo-devel
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] Anybody know how SDLor oygames is using DirectFB?

2006-12-04 Thread Duncan Webb
Anybody know how SDL or pygame is using DirectFB for the key mappings.

I assume that SDL takes keyboard events from DirectFB because if I add
disable-module=keyboard to /etc/directfbrc then no keyboard events are 
received by Freevo. Using the df_input from DirectFB-examples the key
codes shown match perfectly But under freevo the arrow keys are all
screwed up.

I'm just trying to figure out where the mapping is getting changed.
Anybody else seen this?

Thanks
Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] 1.7.0 deps.

2006-12-04 Thread Duncan Webb
Jason Tackaberry wrote:
> On Mon, 2006-12-04 at 17:43 +0100, Dirk Meyer wrote:
 meant to ask, what would you be using kaa.imlib2 for?
>>> dischi asked me to use it.
>> Replacement for PIL.
> 
> Sounds perfectly sensible.

Talk about forgetting to say the obvious, sorry about that.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Feature Requests-1608724 ] Setup GUI for FreeVO

2006-12-04 Thread SourceForge.net
Feature Requests item #1608724, was opened at 2006-12-04 19:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446898&aid=1608724&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Matthias Fenner (informix)
Assigned to: Nobody/Anonymous (nobody)
Summary: Setup GUI for FreeVO

Initial Comment:
What about my new configuration GUI ?

Are you interested in sth. like this ?

Me never published it cause i dont know where :D

It only requires kommander (kmdr-executor) ... so If you need a better way to 
setup freevo - just write back :D I'll monitor this ticket!

PS:The record-server and tv-in support is the only missing part, but If you 
want me to implement it - i will do so. But I then would need you to test it.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446898&aid=1608724&group_id=46652

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Bugs-1608017 ] channel id with %20 aka " " cause error in webserver

2006-12-04 Thread Florian Demmer
Duncan Webb schrieb:
> Florian Demmer wrote:
>> Florian Demmer schrieb:
>>> [...]
> Comment By: Duncan Webb (duncanwebb)
 Date: 2006-12-04 11:57

 Message:
 Logged In: YES 
 user_id=104395
 Originator: NO

 How are you grabbing the TV.xml, using tv_grab_de_today?  and did you run
 tv_sort afterwards?

 If you are then there are no spaces in the channel id.

 http://www.tvtoday.de/";
 source-data-url="http://programm.tvtoday.de/tv/programm/programm.php";
 generator-info-name="XMLTV"
 generator-info-url="http://membled.com/work/apps/xmltv/";>
   
 KABEL 1
 >>> src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
   

>>> [...]
>>>
>>> yes, i use the tvtoday grabber.
>>>
>>> localhost ~ # tv_grab_de_tvtoday --version
>>> XMLTV module version 0.5.44
>>> This is tv_grab_de_tvtoday.in version 1.45, 2006/05/25 17:10:18
>>>
>>> no, i did not use tv_sort before, but i tried that now...
>>>
>> here i wanted to post the version of sort:
>>
>> localhost ~ # tv_sort --version
>> XMLTV module version 0.5.44
>> This is tv_sort version 1.32, 2006/03/02 19:16:00
>>
>>> localhost tmp # tv_sort --by-channel --duplicate-error --output
>>> TV_tvtoday_fixed.xml TV_tvtoday.xml
>>>
>>>
>>> ... and still have the %20s in the data:
>>>
>>>   
> 
> I've never seen this form of channel id before.

so, you get "kabel1.de" using the tvtoday grabber?!

> 
>>> KABEL 1
>>> >> src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>>>   
>>>
>>> do i need to get a newer version?
>> since a newer one was released yesterday i guess it should not be
>> required :P
>> also the tv_sort version in the new release is the same... sooo what am
>> i doing wrong? can i manually set the channel ids somewhere?
> 
> I updated mine on Saturday, as the Swiss channels were at last fixed,
> taken several weeks for them to be fixed. I've been using nxtvepg
> instead, which I find much much better, except that it doesn't have
> quite all the channels. The data is better too.
> 
> The only problem with nxtvepg is that it doesn't export the data
> correctly on an AMD64 machine.

i used to use nxtvepg with a pvr250, but was planning to switch to dvb-c
using a cinergy1200 and cannot get vbi to work, so i was looking for
another xmltv source.


i fixed the problems with adding a recording through the webinterface
with a simple str.replace(a,b), which is kinda ugly, but works. however
the removing of scheduled programs seems to be a little more work or i
just have to find the right spot in the code to fix the chan-id string.
as it IS working in the gui i would say, it SHOULD work in the
webiterface as well.


maybe i ll find time to look into it next weekend...


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] 1.7.0 deps.

2006-12-04 Thread Jason Tackaberry
On Mon, 2006-12-04 at 17:43 +0100, Dirk Meyer wrote:
> >> meant to ask, what would you be using kaa.imlib2 for?
> >
> > dischi asked me to use it.
> 
> Replacement for PIL.

Sounds perfectly sensible.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] 1.7.0 deps.

2006-12-04 Thread Dirk Meyer
Duncan Webb wrote:
> Jason Tackaberry wrote:
>> On Mon, 2006-12-04 at 07:15 +0100, Duncan Webb wrote:
>>> In the next RC it will also require kaa.imlib2 and kaa.notifier. Not yet
>>> in SVN but may be today.
>> 
>> notifier is part of kaa.base, so this isn't an extra dependency.  BTW I
>> meant to ask, what would you be using kaa.imlib2 for?
>
> dischi asked me to use it.

Replacement for PIL.


Dischi

-- 
The world is full of willing people -- some willing to work and some
willing to let them. - Robert Frost.


pgpDklbmT4hbX.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Bugs-1608017 ] channel id with %20 aka " " cause error in webserver

2006-12-04 Thread Duncan Webb
Florian Demmer wrote:
> Florian Demmer schrieb:
>> [...]
 Comment By: Duncan Webb (duncanwebb)
>>> Date: 2006-12-04 11:57
>>>
>>> Message:
>>> Logged In: YES 
>>> user_id=104395
>>> Originator: NO
>>>
>>> How are you grabbing the TV.xml, using tv_grab_de_today?  and did you run
>>> tv_sort afterwards?
>>>
>>> If you are then there are no spaces in the channel id.
>>>
>>> http://www.tvtoday.de/";
>>> source-data-url="http://programm.tvtoday.de/tv/programm/programm.php";
>>> generator-info-name="XMLTV"
>>> generator-info-url="http://membled.com/work/apps/xmltv/";>
>>>   
>>> KABEL 1
>>> >> src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>>>   
>>>
>> [...]
>>
>> yes, i use the tvtoday grabber.
>>
>> localhost ~ # tv_grab_de_tvtoday --version
>> XMLTV module version 0.5.44
>> This is tv_grab_de_tvtoday.in version 1.45, 2006/05/25 17:10:18
>>
>> no, i did not use tv_sort before, but i tried that now...
>>
> 
> here i wanted to post the version of sort:
> 
> localhost ~ # tv_sort --version
> XMLTV module version 0.5.44
> This is tv_sort version 1.32, 2006/03/02 19:16:00
> 
>> localhost tmp # tv_sort --by-channel --duplicate-error --output
>> TV_tvtoday_fixed.xml TV_tvtoday.xml
>>
>>
>> ... and still have the %20s in the data:
>>
>>   

I've never seen this form of channel id before.

>> KABEL 1
>> > src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>>   
>>
>> do i need to get a newer version?
> 
> since a newer one was released yesterday i guess it should not be
> required :P
> also the tv_sort version in the new release is the same... sooo what am
> i doing wrong? can i manually set the channel ids somewhere?

I updated mine on Saturday, as the Swiss channels were at last fixed,
taken several weeks for them to be fixed. I've been using nxtvepg
instead, which I find much much better, except that it doesn't have
quite all the channels. The data is better too.

The only problem with nxtvepg is that it doesn't export the data
correctly on an AMD64 machine.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] 1.7.0 deps.

2006-12-04 Thread Duncan Webb
Jason Tackaberry wrote:
> On Mon, 2006-12-04 at 07:15 +0100, Duncan Webb wrote:
>> In the next RC it will also require kaa.imlib2 and kaa.notifier. Not yet
>> in SVN but may be today.
> 
> notifier is part of kaa.base, so this isn't an extra dependency.  BTW I
> meant to ask, what would you be using kaa.imlib2 for?

dischi asked me to use it.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] kaa.popcorn design questions

2006-12-04 Thread Dirk Meyer
Jason Tackaberry wrote:
> On Fri, 2006-12-01 at 17:42 +0100, Hans Meine wrote:
>> audio and video streams in different containers.  Thinking about it, I'd say 
>> let the backends deal with that diversity, have a proper default player 
>> (which hopefully supports all formats) and automatically fall back on 
>> another 
>> if that player fails for some reason (missing plugin/similar).
>
> I agree with this.  I don't think there's any reliable way we can know
> beforehand if a player can play a file without actually trying.
>
> I think rather than base the decision on codecs and/or extensions, we
> should look instead at more higher level requirements and capabilities.
> Maybe we can rank each capability.  For example, something like:
>
> Capability   Player Rank
> --      
> CAP_DVD_MENUSmplayer2
> CAP_DVD_MENUSgstreamer  7
> CAP_DVD_MENUSxine   10
> CAP_DEINTERLACE  mplayer5
> CAP_DEINTERLACE  gstreamer  3
> CAP_DEINTERLACE  xine   9

Looking at the source code I see the following capabilities:
CAP_VIDEO, CAP_AUDIO, CAP_OSD, CAP_CANVAS, CAP_DVD, CAP_DVD_MENUS,
CAP_DYNAMIC_FILTERS, CAP_VARIABLE_SPEED, CAP_VISUALIZATION,
CAP_DEINTERLACE

First question: do we need all of them? IMHO CAP_VIDEO and CAP_AUDIO
are obvious, we don't need them. We won't support a player that has no
video output. Other caps or more boolean caps like CAP_VARIABLE_SPEED
and CAP_DYNAMIC_FILTERS. I also think we need CAP_HD for H.264 content
or width >= 1280. 

So I guess we should have:

Boolean capabilities, hardcoded in the source code: CAP_OSD,
CAP_CANVAS, CAP_DYNAMIC_FILTERS, CAP_VARIABLE_SPEED, CAP_VISUALIZATION

Rating capabilities for the config file: CAP_DVD, CAP_DVD_MENUS,
CAP_DEINTERLACE, CAP_HD

We could also add a [player].prefer_for_extention variable, a list of
extensions this player is the prefered one. Maybe also based on codecs
[player].prefer_for_codec. Maybe that is CAP_PREFERED. So it is still
possible that the prefered player is not used when user capabilities
have a higher rating. Using that we could remove CAP_HD again.

Example config file for mplayer

mplayer.capabilities.dvd = 10
mplayer.capabilities.dvd_menu = 1
mplayer.capabilities.deinterlace = 5
mplayer.capabilities.hd = 9
mplayer.capabilities.prefered = 8
mplayer.prefered.extensions = mkv,ts,mov
mplayer.prefered.codecs = H.264


Comments?


Dischi

-- 
I feel like a genocidal maniac when emacs asks me if I want to kill
10789 characters.


pgphpzOX8nYi9.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] kaa.imlib2 and pygame

2006-12-04 Thread Duncan Webb
Jason Tackaberry wrote:
> On Mon, 2006-12-04 at 11:28 +0100, Duncan Webb wrote:
>> The encoding of image.get_raw_data(format='RGBA') seems to give a
>> buffer, that pygame can't process. 'RGB' works fine but has no alpha
>> channel so the icons look bad. pygame can't handle 'BGRA' images.
> 
> get_raw_data() always returns a buffer object.  As discussed on IRC
> yesterday, if you need a string to pass to pygame, just pass the buffer
> to str().  It won't be exceptionally fast but it will work.  But I'm not
> sure why RGB worked at all, unless you were already converting the
> buffer to a string using str().

Sure I have used str(image.get_raw_data(format=image.mode))

I've figured it out, just now, the mode was being set to BGRA from the
image data but it needed converting to RGBA.

Thanks
Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Bugs-1608017 ] channel id with %20 aka " " cause error in webserver

2006-12-04 Thread Florian Demmer
Florian Demmer schrieb:
> [...]
>>> Comment By: Duncan Webb (duncanwebb)
>> Date: 2006-12-04 11:57
>>
>> Message:
>> Logged In: YES 
>> user_id=104395
>> Originator: NO
>>
>> How are you grabbing the TV.xml, using tv_grab_de_today?  and did you run
>> tv_sort afterwards?
>>
>> If you are then there are no spaces in the channel id.
>>
>> http://www.tvtoday.de/";
>> source-data-url="http://programm.tvtoday.de/tv/programm/programm.php";
>> generator-info-name="XMLTV"
>> generator-info-url="http://membled.com/work/apps/xmltv/";>
>>   
>> KABEL 1
>> > src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>>   
>>
> [...]
> 
> yes, i use the tvtoday grabber.
> 
> localhost ~ # tv_grab_de_tvtoday --version
> XMLTV module version 0.5.44
> This is tv_grab_de_tvtoday.in version 1.45, 2006/05/25 17:10:18
> 
> no, i did not use tv_sort before, but i tried that now...
> 

here i wanted to post the version of sort:

localhost ~ # tv_sort --version
XMLTV module version 0.5.44
This is tv_sort version 1.32, 2006/03/02 19:16:00

> 
> localhost tmp # tv_sort --by-channel --duplicate-error --output
> TV_tvtoday_fixed.xml TV_tvtoday.xml
> 
> 
> ... and still have the %20s in the data:
> 
>   
> KABEL 1
>  src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>   
> 
> do i need to get a newer version?

since a newer one was released yesterday i guess it should not be
required :P
also the tv_sort version in the new release is the same... sooo what am
i doing wrong? can i manually set the channel ids somewhere?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] [ freevo-Bugs-1608017 ] channel id with %20 aka " " cause error in webserver

2006-12-04 Thread Florian Demmer
[...]
>> Comment By: Duncan Webb (duncanwebb)
> Date: 2006-12-04 11:57
> 
> Message:
> Logged In: YES 
> user_id=104395
> Originator: NO
> 
> How are you grabbing the TV.xml, using tv_grab_de_today?  and did you run
> tv_sort afterwards?
> 
> If you are then there are no spaces in the channel id.
> 
> http://www.tvtoday.de/";
> source-data-url="http://programm.tvtoday.de/tv/programm/programm.php";
> generator-info-name="XMLTV"
> generator-info-url="http://membled.com/work/apps/xmltv/";>
>   
> KABEL 1
>  src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
>   
> 
[...]

yes, i use the tvtoday grabber.

localhost ~ # tv_grab_de_tvtoday --version
XMLTV module version 0.5.44
This is tv_grab_de_tvtoday.in version 1.45, 2006/05/25 17:10:18

no, i did not use tv_sort before, but i tried that now...

localhost ~ # tv_grab_de_tvtoday --version
XMLTV module version 0.5.44
This is tv_grab_de_tvtoday.in version 1.45, 2006/05/25 17:10:18

localhost tmp # tv_sort --by-channel --duplicate-error --output
TV_tvtoday_fixed.xml TV_tvtoday.xml


... and still have the %20s in the data:

  
KABEL 1
http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
  

do i need to get a newer version?


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] 1.7.0 deps.

2006-12-04 Thread Jason Tackaberry
On Mon, 2006-12-04 at 07:15 +0100, Duncan Webb wrote:
> In the next RC it will also require kaa.imlib2 and kaa.notifier. Not yet
> in SVN but may be today.

notifier is part of kaa.base, so this isn't an extra dependency.  BTW I
meant to ask, what would you be using kaa.imlib2 for?

Jason.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


Re: [Freevo-devel] kaa.imlib2 and pygame

2006-12-04 Thread Jason Tackaberry
On Mon, 2006-12-04 at 11:28 +0100, Duncan Webb wrote:
> The encoding of image.get_raw_data(format='RGBA') seems to give a
> buffer, that pygame can't process. 'RGB' works fine but has no alpha
> channel so the icons look bad. pygame can't handle 'BGRA' images.

get_raw_data() always returns a buffer object.  As discussed on IRC
yesterday, if you need a string to pass to pygame, just pass the buffer
to str().  It won't be exceptionally fast but it will work.  But I'm not
sure why RGB worked at all, unless you were already converting the
buffer to a string using str().

Cheers,
Jason.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Bugs-1608393 ] show date info without support LOCALE

2006-12-04 Thread SourceForge.net
Bugs item #1608393, was opened at 2006-12-04 12:00
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608393&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv
Group: 1.6.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Valera Koval (vkoval)
Assigned to: Nobody/Anonymous (nobody)
Summary: show date info without support LOCALE

Initial Comment:
1. config.LOCALE = 'koi8-u'
2. In tvlisting_area.py date draw from dateformat without 
convert to unicode.
3. See patch in attach.

Thanks.

--

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-12-04 13:23

Message:
Logged In: YES 
user_id=104395
Originator: NO

Yill you try this, as it's valid to have a config.LOCALE='utf8'

self.drawstring(Unicode(time.strftime(timeformat,
time.localtime(to_listing[0][i+1]))),

Thanks

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608393&group_id=46652

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Bugs-1608308 ] games plugin crashes

2006-12-04 Thread SourceForge.net
Bugs item #1608308, was opened at 2006-12-04 09:00
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608308&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: plugins
Group: 1.7.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ehisey (ehisey)
Assigned to: Nobody/Anonymous (nobody)
Summary: games plugin crashes

Initial Comment:
As of 1.6.0 all the my Roms were working with the games plugin. After updating 
to 1.7.0 I get a crash dialog and the option to shutdown or continue. 



>From log file:
SNES rom header detected at offset : 33216
item.py (243): unable to store "romLic":"3" info for '3 Ninjas Kick Back (U)'
SNES rom name : 1 - 3 Ninjas Kick Back (U).zip -> 3 NINJAS KICK BACK   
SNES rom header detected at offset : 65984
SNES rom name : 1 - 7th Saga The (U).zip -> THE 7TH SAGA 
SNES rom header detected at offset : 33216
item.py (243): unable to store "romLic":"3" info for 'AAAHH!!! Real Monsters 
(U)'
SNES rom name : 1 - AAAHH!!! Real Monsters (U).zip -> REAL MONSTERS
SNES rom header detected at offset : 33216
SNES rom name : 1 - ABC Monday Night Football (U).zip -> MONDAY NIGHT FOOTBALL
SNES rom header detected at offset : 33216
SNES rom name : 1 - Act Raiser (U).zip -> ACTRAISER-USA
SNES rom header detected at offset : 65472
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 301, in 
eventhandler
app.eventhandler(event)
  File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 621, in 
eventhandler
action( arg=arg, menuw=self )
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 443, in cwd
self.check_password_and_build(arg=None, menuw=menuw)
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 498, in 
check_password_and_build
self.build(arg=arg, menuw=menuw)
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 604, in 
build
for i in p.get(self, files):
  File "/usr/lib/python2.4/site-packages/freevo/games/__init__.py", line 93, in 
get
items += [ SnesItem(file, cmd, args, imgpath, parent) ]
  File "/usr/lib/python2.4/site-packages/freevo/games/snesitem.py", line 231, 
in __init__

(self['romName'],self['romHL'],self['romMem'],self['romROM'],self['romSRAM'],self['romCountry'],self['romLic'],self['romVer'],self['romICHK'],self['rom
CHK']) = self._read_rom(snesFile)
  File "/usr/lib/python2.4/site-packages/freevo/item.py", line 243, in 
__setitem__
_debug_(u'unable to store \"%s\":\"%s\" info for \'%s\'' % (key, value, 
self.name), 0)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal 
not in range(128)


--

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-12-04 12:03

Message:
Logged In: YES 
user_id=104395
Originator: NO

There are two problems here:

First, is it cannot item.py (243): unable to store "romLic":"3" info for
'AAAHH!!! Real Monsters (U)'

Second, is it has a non acsii character in the name of the rom. 

What I don't understand is why it doesn't store the item.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608308&group_id=46652

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Bugs-1608393 ] show date info without support LOCALE

2006-12-04 Thread SourceForge.net
Bugs item #1608393, was opened at 2006-12-04 13:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608393&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv
Group: 1.6.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Valera Koval (vkoval)
Assigned to: Nobody/Anonymous (nobody)
Summary: show date info without support LOCALE

Initial Comment:
1. config.LOCALE = 'koi8-u'
2. In tvlisting_area.py date draw from dateformat without 
convert to unicode.
3. See patch in attach.

Thanks.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608393&group_id=46652

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Bugs-1608017 ] channel id with %20 aka " " cause error in webserver

2006-12-04 Thread SourceForge.net
Bugs item #1608017, was opened at 2006-12-03 20:24
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608017&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: program guide
Group: 1.x svn
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: f demmer (fdemmer)
Assigned to: Nobody/Anonymous (nobody)
Summary: channel id with %20 aka " " cause error in webserver

Initial Comment:
using svn rel-1, Rev 8687 (pretty recently)

this is whats happening after clicking a show in the webinterface (what 
normally openes  the detaisl box with the record button)

2006/12/03 20:15 CET [HTTPChannel,0,127.0.0.1] Traceback (most recent call 
last):
  File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", 
line 221, in dataReceived
why = self.lineReceived(line)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 
961, in lineReceived
self.allContentReceived()
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 
1002, in allContentReceived
req.requestReceived(command, path, version)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 
557, in requestReceived
self.process()
---  ---
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 
153, in process
self.render(resrc)
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 
160, in render
body = resrc.render(self)
  File "/usr/lib/python2.4/site-packages/freevo/www/web_types.py", line 
73, in render
return self._render(request)
  File "/usr/share/freevo/htdocs/proginfo.rpy", line 52, in _render
chan = guide.chan_dict[chanid]
exceptions.KeyError: 'kabel 1.tvtoday.de'


when searching for a show on a channel with a %20 in its id and then clicking 
the record link in the searchresult, there is no exception but this 
errormessage in the webitnerface:

*  ERROR: No program found on kabel 1.tvtoday.de at 12/05/06 20:15:00. 
(RecordServer::findProg: prog not found)

by channel id, i mean the channel identifier used in my xmltv data. it is not 
up to me what that is, so i would say freevo should be able to handle that.

--

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-12-04 11:57

Message:
Logged In: YES 
user_id=104395
Originator: NO

How are you grabbing the TV.xml, using tv_grab_de_today?  and did you run
tv_sort afterwards?

If you are then there are no spaces in the channel id.

http://www.tvtoday.de/";
source-data-url="http://programm.tvtoday.de/tv/programm/programm.php";
generator-info-name="XMLTV"
generator-info-url="http://membled.com/work/apps/xmltv/";>
  
KABEL 1
http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif"; />
  


--

Comment By: f demmer (fdemmer)
Date: 2006-12-03 23:15

Message:
Logged In: YES 
user_id=866896
Originator: YES

this seems to also cause problems with removing items from the scheduled
recordings list:

web.Server Traceback (most recent call last):

exceptions.UnboundLocalError: local variable 'prog' referenced before
assignment
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 153 in
process
151try:
152  resrc = self.site.getResourceFor(self)
153  self.render(resrc)
154except:
Self
site
twisted.web.server.Site instance @ -0x48c79bf4 
Locals
resrc   
__builtin__.RecordResource instance @ -0x491b09b4
<__builtin__.RecordResource instance at 0xb6e4f64c>
self
twisted.web.server.Request instance @ -0x48b72134 
/usr/lib/python2.4/site-packages/twisted/web/server.py, line 160 in
render
158  def render(self, resrc):
159try:
160  body = resrc.render(self)
161except UnsupportedMethod, e:
Locals
resrc   
__builtin__.RecordResource instance @ -0x491b09b4
<__builtin__.RecordResource instance at 0xb6e4f64c>
self
twisted.web.server.Request instance @ -0x48b72134 
Globals
UnsupportedMethod   
/usr/lib/python2.4/site-packages/freevo/www/web_types.py, line 73 in
render
71  return '401 Authentication required'
72else:
73  return self._render(request)
74
Locals
self
__builtin__.RecordResource instance @ -0x491b09b4
<__builtin__.RecordResource instance at 0xb6e4f64c>
request 
twisted.web.server.Request instance @ -0x48b72134 
/usr/share/freevo/htdocs/record.rpy, line 73 in _render
71  prog = what
72
73  print 'want to remove prog: %s' % String(prog)
74  ri.removeScheduledRecording(prog)
Locals
what
tv.epg_types.TvProgram instance @ -0x4919c2d4 
Globals
ri  

exceptions.UnboundLocalError: local vari

[Freevo-devel] kaa.imlib2 and pygame

2006-12-04 Thread Duncan Webb
Hi

The encoding of image.get_raw_data(format='RGBA') seems to give a
buffer, that pygame can't process. 'RGB' works fine but has no alpha
channel so the icons look bad. pygame can't handle 'BGRA' images.

Any ideas for how to correctly convert the buffer to keep pygame happy?

TIA
Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


[Freevo-devel] [ freevo-Bugs-1608308 ] games plugin crashes

2006-12-04 Thread SourceForge.net
Bugs item #1608308, was opened at 2006-12-04 08:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608308&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: plugins
Group: 1.7.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ehisey (ehisey)
Assigned to: Nobody/Anonymous (nobody)
Summary: games plugin crashes

Initial Comment:
As of 1.6.0 all the my Roms were working with the games plugin. After updating 
to 1.7.0 I get a crash dialog and the option to shutdown or continue. 



>From log file:
SNES rom header detected at offset : 33216
item.py (243): unable to store "romLic":"3" info for '3 Ninjas Kick Back (U)'
SNES rom name : 1 - 3 Ninjas Kick Back (U).zip -> 3 NINJAS KICK BACK   
SNES rom header detected at offset : 65984
SNES rom name : 1 - 7th Saga The (U).zip -> THE 7TH SAGA 
SNES rom header detected at offset : 33216
item.py (243): unable to store "romLic":"3" info for 'AAAHH!!! Real Monsters 
(U)'
SNES rom name : 1 - AAAHH!!! Real Monsters (U).zip -> REAL MONSTERS
SNES rom header detected at offset : 33216
SNES rom name : 1 - ABC Monday Night Football (U).zip -> MONDAY NIGHT FOOTBALL
SNES rom header detected at offset : 33216
SNES rom name : 1 - Act Raiser (U).zip -> ACTRAISER-USA
SNES rom header detected at offset : 65472
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 301, in 
eventhandler
app.eventhandler(event)
  File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 621, in 
eventhandler
action( arg=arg, menuw=self )
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 443, in cwd
self.check_password_and_build(arg=None, menuw=menuw)
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 498, in 
check_password_and_build
self.build(arg=arg, menuw=menuw)
  File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 604, in 
build
for i in p.get(self, files):
  File "/usr/lib/python2.4/site-packages/freevo/games/__init__.py", line 93, in 
get
items += [ SnesItem(file, cmd, args, imgpath, parent) ]
  File "/usr/lib/python2.4/site-packages/freevo/games/snesitem.py", line 231, 
in __init__

(self['romName'],self['romHL'],self['romMem'],self['romROM'],self['romSRAM'],self['romCountry'],self['romLic'],self['romVer'],self['romICHK'],self['rom
CHK']) = self._read_rom(snesFile)
  File "/usr/lib/python2.4/site-packages/freevo/item.py", line 243, in 
__setitem__
_debug_(u'unable to store \"%s\":\"%s\" info for \'%s\'' % (key, value, 
self.name), 0)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal 
not in range(128)


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1608308&group_id=46652

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel