Re: [Freevo-users] character encoding problem

2008-01-06 Thread Damian Minkov
Hi,

I'm with mediaportal skin, but I've change it to blurr with no effect.
I've searched for font config but all I can find is only for OSD.

Thanks
damencho

Duncan Webb wrote:
> Damian Minkov wrote:
>   
>> Hi,
>>
>> I've tried this but no change. The date is shown as squares.
>> thanks
>> 
>
> Then it's a font problem, I use the blurr skin with Arial_Bold.ttf, 
> looks like your font does not support Unicode.
>
> Duncan
>
>   
 I'm a happy user of freevo at a home box for playing all my media.
 Great work to the devs!
 I recently updated to the latest release and start to experiment with some
 plugins I haven't used before.
 I have some problems and all are related to character encoding.
 I have ID3 tags of mp3 in my native language (bulgarian, cyrillic, 
 cp1251,bg_BG )
 and they are not displayed correctly.
 And the other thing is when using Headlines plugin again with RSS in my 
 language.
 I've tried every combination of setting LOCALE in local_conf.py and
 exporting LC_ALL=bg_BG in the environment where freevo starts. But 
 nothing changes.
 I've noticed also when I export LC_ALL this changes the display format 
 of the date
 and so in the idlebar the day of the week from the date is also broken ?

 Any ideas ?
 What to try to solve this problem?
 
 
>>> Try:
>>>
>>> In local_conf.py:
>>> LOCALE = 'cp1251'
>>>
>>> In the shell:
>>> export LC_ALL=bg_BG.UTF-8
>>> and may be:
>>> export LC_CTYPE=bg_BG.UTF-8
>>> export LANG=bg_BG
>>>
>>> A quick test shows the date as nt 4 (nt are the nearest ascii characters).
>>>   
>
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo 1.7.5 can't find kaa-imlib2

2008-01-06 Thread Ryan Roth
Did you install imlib2-devel?  All the packages required are the devel 
packages.

Phil Raymond wrote:
> I have compiled all 3 kaa dependencies and when I attempt to install freevo 
> 1.7.5, it tells me kaa imlib2 isn't installed, when in fact it is. It resides 
> in usr/lib/python2.5/site-packages folder, right next to kaa metadata, which 
> Freevo says is installed, which it is. Why can't Freevo detect imlib, when it 
> detects metadata? I'm guessing something else is missing, please tell me what 
> to try next. While I'm writing this, does this version of Freevo need Python 
> Twisted and if so, does it use 2.5 or does it still need the outdated 2.4?
>
>
>
>
>   
> 
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.  
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo 1.7.5 can't find kaa-imlib2

2008-01-06 Thread Phil Raymond
I have compiled all 3 kaa dependencies and when I attempt to install freevo 
1.7.5, it tells me kaa imlib2 isn't installed, when in fact it is. It resides 
in usr/lib/python2.5/site-packages folder, right next to kaa metadata, which 
Freevo says is installed, which it is. Why can't Freevo detect imlib, when it 
detects metadata? I'm guessing something else is missing, please tell me what 
to try next. While I'm writing this, does this version of Freevo need Python 
Twisted and if so, does it use 2.5 or does it still need the outdated 2.4?




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] character encoding problem

2008-01-06 Thread Duncan Webb
Damian Minkov wrote:
> Hi,
> 
> I've tried this but no change. The date is shown as squares.
> thanks

Then it's a font problem, I use the blurr skin with Arial_Bold.ttf, 
looks like your font does not support Unicode.

Duncan

>>> I'm a happy user of freevo at a home box for playing all my media.
>>> Great work to the devs!
>>> I recently updated to the latest release and start to experiment with some
>>> plugins I haven't used before.
>>> I have some problems and all are related to character encoding.
>>> I have ID3 tags of mp3 in my native language (bulgarian, cyrillic, 
>>> cp1251,bg_BG )
>>> and they are not displayed correctly.
>>> And the other thing is when using Headlines plugin again with RSS in my 
>>> language.
>>> I've tried every combination of setting LOCALE in local_conf.py and
>>> exporting LC_ALL=bg_BG in the environment where freevo starts. But 
>>> nothing changes.
>>> I've noticed also when I export LC_ALL this changes the display format 
>>> of the date
>>> and so in the idlebar the day of the week from the date is also broken ?
>>>
>>> Any ideas ?
>>> What to try to solve this problem?
>>> 
>> Try:
>>
>> In local_conf.py:
>> LOCALE = 'cp1251'
>>
>> In the shell:
>> export LC_ALL=bg_BG.UTF-8
>> and may be:
>> export LC_CTYPE=bg_BG.UTF-8
>> export LANG=bg_BG
>>
>> A quick test shows the date as nt 4 (nt are the nearest ascii characters).



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] reencode plugin

2008-01-06 Thread John Molohan
Jonathan Isom wrote:
> On Jan 5, 2008 1:10 PM, Duncan Webb <[EMAIL PROTECTED]> wrote:
>   
>> Jonathan Isom wrote:
>> 
>>> On Jan 5, 2008 11:59 AM, Jonathan Isom <[EMAIL PROTECTED]> wrote:
>>>   
 Also is there a way to specify to output name of the recoded file that
 I'm not seeing? Otherwise it is really easy to overwrite the output if
 its the same file extension.  I'm thinking something like  transcoded
 or recoded in the name or an explicit reencoded directory.
 
>> I think that you may be correct but it shouldn't be difficult to change.
>> 
>
> I'm still thinking which is best ,a convert directory or a file name change.
>
>   
>>> Also :)
>>>Is there a reason that the audio is encoded separately for the
>>> video.  To the best of my knowledge mencoder can
>>> encode  audio video and multiplex at the same time.
>>>   
>
>   
>> I assume that you are encoding to avi in which case the multiplexor of
>> memcoder is okay. From what I understand other types, such as mp4,
>> mencoder's multiplexor may not work correctly. Also ffmpeg is better
>> except that it doesn't have the range of filters that mencoder has; the
>> encodingserver doesn't use many filters so it may be better to replace
>> memcoder with ffmpeg and use different multiplexors.
>> 
>
> mencoder spports the following output fomats
>avi  - Microsoft Audio/Video Interleaved
>mpeg - MPEG-1/2 system stream format
>lavf - FFmpeg libavformat muxers
>rawvideo - (video only, one stream only) raw stream, no muxing
>rawaudio - (audio only, one stream only) raw stream, no muxing
>
> if I'm reading the code correctly freevo currently encodes the audio 
> separately
> using mencoder then either copies the audio or rencodes it using mencoder.
> as is it appears to use mencoder for mp4 files with
>
> -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames
>
> As mencoder has  multiple codecs , including ffmpeg, and file formats 
> including
> raw video and audio, wee could use mkvmerge for Matroska files and mp4creator
> for mp4 files ,though both a deps.
>
>   
>> The primary purpose of the encoding server is to re-encode DVDs and IVTV
>> mpeg files. I haven't tried re-encoding avi files recorded from a BTTV card.
>> 
>
> Well I'm in the process of testing some changes that allow encoding to mpeg-ps
> files which will make files that can be burn from HDTV dvb/atsc.  The
> standard def
> of dvb can usually be converted to a iso fairly easy for play in dvd
> players.  That
> said hdtv content must scaled down for dvd.  A plugin would still be
> needed to use
> dvdauthor and mkiso to creatre a burn able file though,  but it is a
> starting point .
>   
That sounds like a great addition I'd thought of it when I came across 
tovid. I think that the encoding plugin probably needs a bit of work to 
polish it off.

John

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] appletrailer plugin

2008-01-06 Thread John Molohan
Alexander Mondshain wrote:
> Hi
>
> After upgrade to 1.7.5 stopped working for me too
> cleaning cache is not helping
>
> Same exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in 
> eventhandler
> app.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 691, in 
> eventhandler
> for a in p.actions(menu.selected):
>   File 
> "/usr/lib/python2.5/site-packages/freevo/video/plugins/imdb.py", line 
> 92, in actions
> if item.type == 'video' and (not item.files or not 
> item.files.fxd_file):
>
> Not sure what is it have to do with imdb in a first place
>
> Alex M
Already fixed :) Have a look at the bug tracker, I submitted a patch for 
that last week.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] mpd plugin

2008-01-06 Thread Elizabeth Dodd
On Fri, 21 Dec 2007, Duncan Webb wrote:
> Elizabeth Dodd wrote:
> > On Fri, 21 Dec 2007, Duncan Webb wrote:
> >> Elizabeth Dodd wrote:
> >>> On Thu, 20 Dec 2007, Elizabeth Dodd wrote:
>  In Freevo 1.7-4 the mpd plugin crashes looking for OSD_OVERSCAN_LEFT
>  and OSD_OVERSCAN_RIGHT
> 
>  so my will-code-for-food assistant has sorted this out for me
> 
>  We haven't looked at svn to see if this is OK or not in svn
> >>>
> >>> 
> >>> don't trust the "paste as attachment" in kmail
> >>> 
> >>>
> >>> not a real diff, but close enough
> >>>
>  mpd.py 204 <<
> >>>
> >>>   # set the multiplier to be used in all screen drawing
> >>> - self.xmult = float(osd.width  - config.OSD_OVERSCAN_LEFT -
> >>> OSD_OVERSCAN_RIGHT) / 800
> >>> - self.ymult = float(osd.height - config.OSD_OVERSCAN_TOP -
> >>> OSD_OVERSCAN_BOTTOM) / 600
> >>> + self.xmult = float(osd.width  - config.OSD_OVERSCAN_LEFT -
> >>> config.OSD_OVERSCAN_RIGHT) / 800
> >>> + self.ymult = float(osd.height - config.OSD_OVERSCAN_TOP -
> >>> config.OSD_OVERSCAN_BOTTOM) / 600
> >>>
> >>>
> >>> now it has the line wrap problem I was trying to be smart and avoid
> >>
> >> Thanks for this, silly bug.
> >
> > The whole system isn't actually operational yet; there may be more little
> > bugs and sometime over the silly season the report will be ready for the
> > wiki. There may be more bugs to find yet.
>
> I like people to use the tracker to report bugs, this way there is a
> history and they will be reported in the ChangeLog and you can attach a
> unified diff to the report. If you're not sure what I'm talking about
> see:
> http://doc.freevo.org/Contributing?action=show#head-9ec333e919eefa9afe3b19d
>417596d388a209b6d
>
> To submit a new one, follow this link:
> https://sourceforge.net/tracker/?func=add&group_id=46652&atid=446895
>
> Duncan
>
>

Replacement MPD plugin has been coded (for about 2 weeks food).
It is on the tracker as graham put it there last night.




-- 
Is this TERMINAL fun?
Presenting a replacement mpd plugin for Freevo 1.7 svn
Why?
The existing mpd plugin is a unashamed hack from the weather plugin, with the 
weather comments still present.
It is undocumented. It requires another command line program 'mpc' to run. It 
has poor error handling.
Who needs a mpd plugin?
Users with large music collections can use mpd (music player daemon) as a music 
server. Multiple clients can be used so that networked control of mpd is easy. 

The new mpd plugin has been coded from scratch, using python libraries to 
interact with mpd (mpdclient2.py)  It is in the "play music" menu rather than 
the main menu. Another mpd client can be called from within freevo. Each 
command sent to the mpd server is on the menu. 
The ability to add to the mpd playlist from within freevo is also available. 
mpd catalogs and plays music in multiple formats (MP3, Ogg Vorbis, FLAC, AAC, 
and wave files) unlike the current audi album tree plugin.

Things which might be even better

Seeing the name of the track playing rather than its number in the playlist
The ability to dock the track name in the idlebar
An option to show the mpd playlist
The ability to pause the mpd server when freevo wanted the sound card (and not 
crash freevo if there is no mpd server)
Adding a playlist or an entire directory to mpd from within freevo.
adding even more mpd commands to the plugin

Long term questions
Consider whether to use mpd (owned by freevo) as freevo's general music player

Sample operation and installation.
Install mpd and an mpd client.
http://mpd.wikia.com/wiki/Clients
The additional mpd client is intended for easier playlist construction. This 
could be elsewhere on your network. There are lots of clients, but hardly any 
*Windows* clients. 
Configure /etc/mpd.conf. If you are using a network, change from "localhost" 
run mpd --create-db
Copy mpdclient2.py to /usr/lib/python2.4/site-packages/freevo/
Copy mpd_playlist.py and mpd_status.py to 
/usr/lib/python2.4/site-packages/freevo/audio/plugins/
Edit local_conf.py

MPD_SERVER_HOST='localhost' # the host running the mpd server
MPD_SERVER_PORT='6600'  # the port the server is listening on
MPD_SERVER_PASSWORD=None# the password to access the mpd server
MPD_MUSIC_BASE_PATH='/mnt/music/'# the local path to where the music is 
stored, must have trailing slash
MPD_EXTERNAL_CLIENT='/usr/bin/pympd'# the location of the external client 
you want to use, or None
#   MPD_EXTERNAL_CLIENT_ARGS='' # arguments to be passed to the external 
client, or None [not in use yet]
plugin.activate('audio.mpd_playlist')
plugin.activate('audio.mpd_status')

If you already have a music management database, some already have mpd clients 
eg jinzora, amarok-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012000

[Freevo-users] dvb with mplayer working only once

2008-01-06 Thread Florian Demmer
Hi,

I reinstalled Freevo after having had one working with ivtv about 2 
years ago.. now with a dvb-c card, which is basically working very fine, 
using freevo and mplayer. The problem however is that it works once to 
start playing dvb from the epg, but after "esc" and trying to play the 
same or any other FTA channel afterwards i get a black screen for a few 
moments ang jump back to the epg.

the console just says "starting tv app"... how can i increase debug output?

this are my local_conf settings about debugging:


# debugging is a number from 0 to 9, 0 is no debugging 9 is most
#
LOGGING = logging.DEBUG
# RECORDSERVER_LOGGING = logging.DEBUG
DEBUG = 9
# messages go to stdout
DEBUG_STDOUT = 1
# messages from starting a child application
CHILDAPP_DEBUG = 9
# timing messages
TIME_DEBUG = 0


tia!
Florian

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] character encoding problem

2008-01-06 Thread Damian Minkov
Hi,

I've tried this but no change. The date is shown as squares.
thanks

damencho


Duncan Webb wrote:
> Damian Minkov wrote:
>   
>> Hi all,
>>
>> I'm a happy user of freevo at a home box for playing all my media.
>> Great work to the devs!
>> I recently updated to the latest release and start to experiment with some
>> plugins I haven't used before.
>> I have some problems and all are related to character encoding.
>> I have ID3 tags of mp3 in my native language (bulgarian, cyrillic, 
>> cp1251,bg_BG )
>> and they are not displayed correctly.
>> And the other thing is when using Headlines plugin again with RSS in my 
>> language.
>> I've tried every combination of setting LOCALE in local_conf.py and
>> exporting LC_ALL=bg_BG in the environment where freevo starts. But 
>> nothing changes.
>> I've noticed also when I export LC_ALL this changes the display format 
>> of the date
>> and so in the idlebar the day of the week from the date is also broken ?
>>
>> Any ideas ?
>> What to try to solve this problem?
>> 
>
> Try:
>
> In local_conf.py:
> LOCALE = 'cp1251'
>
> In the shell:
> export LC_ALL=bg_BG.UTF-8
> and may be:
> export LC_CTYPE=bg_BG.UTF-8
> export LANG=bg_BG
>
> A quick test shows the date as nt 4 (nt are the nearest ascii characters).
>
> Duncan
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>   


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] tv_grab_de_tvtoday

2008-01-06 Thread Tanja
Hi Thorsten,

we were very happy with the data from epgdata during the last year or so.
After asking them by mail, if it is possible to use their data, we got a pin 
for free testing.
With that pin it was possible to download the data as xml files from their web 
page.
I wrote a xmltv compatible script to download the files and convert the data to 
xmltv format,
which can be used with freevo. Moreover Dischi and me included epgdata as a 
source for kaa.epg.

You can find the script here: 
http://www.ikp.uni-koeln.de/~tanja/freevo/tv_grab_de_epgdata.py

But unfortunately the download page of epgdata is not working anymore since dec 
28th (at least not 
for us). The web page itself did not change and we did not receive any note 
from them, that they 
stopped their service or changed the conditions. We did send them a mail a few 
days ago, to ask what 
is going on, but no answer so far. But that might also be due to the holidays...
Anyway, we hope, it is just a temporary failure.

For now we did some googling and found another possible source: www.tvprog.org
The data is not as extensive as the data from epgdata.com, but it is easy to 
get.
It seems to origin from the dvb-t data stream itself and contains good data for 
the next
6 days for most of the important German tv channels. Unfortunately it misses 
some channels, that we
receive here in Cologne. But for now, it seems the only alternative that is 
available to us.

Here is a freevo/xmltv compatible script to download and convert the data:
http://www.ikp.uni-koeln.de/~tanja/freevo/tv_grab_de_tvprog.py

There is also a xmltv grabber for the epg from prisma:
http://sfr.mythwiki.de/index.html
We used that in the past, but then it stopped working and also there are newer 
versions now, I had 
not luck to get it running again...

 From an older post of yours, I see that you are using dvb-s as tv source. You 
wrote, that you used 
a patched version of nxtvepg. Is that version working with budget dvd cards, 
that do not use the 
video4linux api? Where did you get it? You seemed not to be satisfied with that 
solution, why?
Another solution would be to use the epg data that is included in the 
dvb-stream. Did you have any 
experiences in that area?

Regards
Tanja



Thorsten Pferdekämper schrieb:
> Hi folks,
> 
> is there any really working german TV grabber out there?
> Currently, I am using nxtvepg, but it seems tv_grab_de_tvtoday creates better 
> data. (And might be easier to handle.) However, it does not work. I searched 
> around and it seems that the problem is there for quite a few months now. 
> (Can't call method "content_list" on an undefined value 
> at /usr/bin/tv_grab_de_tvtoday line 1277.)
> I had a look at the xmltv cvs, but it seems that tv_grab_de_tvtoday has been 
> deleted due to "restrictive german copyright laws...".
> 
> So - how do all the germans out there grab their TV data?
> 
> Regards,
>   Thorsten
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] show image saved in a variable

2008-01-06 Thread Alberto González Rodríguez
Hello,

  is possible show a image saved in a variable? with kaa.imlib2 or
something

thanks
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users