[Freevo-users] coversearch.py [BUG] + diff
It's not so much a bug, just defensive coding. This is my first go at python and freevo so be nice if I did it wrong. :) am I posting this to the correct list? Basically my disk was read only (yes stupid I know) so cover search couldnt write to the disk this patch just puts a popup for 2 seconds explaining the problem... Cheers Patrick diff follows 340,343c340,353 < m = open(filename,'wb')) == false: < m.write(fp.read()) < m.close() < fp.close() --- > > try: > m = open(filename,'wb') > except IOError: > box.destroy() > box = PopupBox(text= _( 'Error Writing To Disk, Maybe Disk is Read Only?') ) > box.show() > time.sleep(2) > box.destroy() > else: > m.write(fp.read()) > m.close() > > fp.close() --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] TV-guide bug?
> Hi, > > Freevo version 1.5rc3 and debian sarge. > I can only access my last channel if I make one empty channel like this... > > ('t04.katso.fi', 'SVT Europe','E12'), > (' ','', ' ') ] > > - AP > > > --- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > ___ > Freevo-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-users > I noticed I cant access my last channel too. I tried your fix and recordserver and webserver die horribly... File "/usr/lib/python2.2/site-packages/freevo/helpers/webserver.py", line 67, in ? import config File "/usr/lib/python2.2/site-packages/freevo/config.py", line 499, in ? execfile(overridefile, globals(), locals()) File "/etc/freevo/local_conf.py", line 948, in ? TV_CHANNELS = [ TypeError: 'tuple' object is not callable Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/freevo/helpers/recordserver.py", line 199, in ? import config #config must always be the first freeevo module imported File "/usr/lib/python2.2/site-packages/freevo/config.py", line 499, in ? execfile(overridefile, globals(), locals()) File "/etc/freevo/local_conf.py", line 948, in ? TV_CHANNELS = [ TypeError: 'tuple' object is not callable --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] 1.5rc3 Gentoo
yea I meant to thank as well. Just a note for gentoo users, make sure v4l (or v4l2 :)) is in your USE flag, mplayer ebuild configure script didnt detect v4l module was loaded on my system. btw 1.5 is nice :) it sure looks a lot nicer than 1.4 Cheers Patrick --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] [BUG]? mplayer problem
Cheers, going through the new config again fixed the freevo problem, I just had to uncomment a line or two that I hadnt uncommented when I went through it the first time. Now mplayer wont play anything, i copied the command freevo is trying to use and tried it in X, it said that the v4l driver isnt loaded. when I upgraded emerge also upgraded to mplayer 1.0something, I checked to make sure it deteceted v4l in the configure script and it did. I then thought It might be module related (bttv or videodev) so i did a reboot for good measure. Still nothing any ideas, again? oh I nearly forgot here is the command: /usr/bin/mplayer -vo xv,sdl,x11, -fs -nocache -slave tv:// -tv driver=v4l:freq=46.250:device=/dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2 Cheers Patrick > Patrick Laitt wrote: >> I just upgraded to 1.5rc3 from 1.4 >> I am using gentoo >> when I try and watch a tv prog i get this. > > ... > >> line 175, in Play >> mpl = '--prio=%s %s -vo %s%s -fs %s -slave %s' % args >> TypeError: not enough arguments for format string >> >> >> I thought it might just be a misconfiguration on my part? >> anyone got any ideas? > > Do you override MPLAYER_ARGS in your local_conf.py? Perhaps there have > been new entries added since 1.4 that you are missing. For example > there is an 'ivtv' one now if you use a PVR-x50 board. Also make sure > you update your local_conf.py (convert_config helper) since there have > been many other changes since 1.4. > > -Rob > > > --- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > ___ > Freevo-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-users > --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] [BUG]? mplayer problem
I just upgraded to 1.5rc3 from 1.4 I am using gentoo when I try and watch a tv prog i get this. Traceback (most recent call last): File "/usr/lib/python2.2/site-packages/freevo/main.py", line 322, in eventhandler app.eventhandler(event) File "/usr/lib/python2.2/site-packages/freevo/menu.py", line 413, in eventhandler if not isinstance(menu, Menu) and menu.eventhandler(event): File "/usr/lib/python2.2/site-packages/freevo/tv/tvguide.py", line 225, in eventhandler self.player('tv', self.selected.channel_id) File "/usr/lib/python2.2/site-packages/freevo/tv/tvmenu.py", line 118, in start_tv plugin.getbyname(plugin.TV).Play(mode, tuner_id) File "/usr/lib/python2.2/site-packages/freevo/tv/plugins/mplayer.py", line 175, in Play mpl = '--prio=%s %s -vo %s%s -fs %s -slave %s' % args TypeError: not enough arguments for format string I thought it might just be a misconfiguration on my part? anyone got any ideas? Cheers Patrick --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Re: Recording through alsa
I have exactly the same as you... :/ > >>1.0.3 of alsa, yea ive played with alsamixer, and I tried running 2.6 >>kernel as well (with the 2.6 kernel alsa drivers). My emu10k1 file just >>seems to have S/PDIF outputs listed. I dont really understand it very >>well. Should it have input entries as well? >> >> > Not sure. I have the same card as you (sb live value 5.1) but Im not > using SPDIf. Also alsa 1.0.3. > Here's my output: > > [EMAIL PROTECTED] root]# cat /proc/asound/card0/emu10k1 > EMU10K1 > > Card : Creative > Internal TRAM (words) : 0x2000 > External TRAM (words) : 0x8000 > > Effect Send Routing : A=0, B=1, C=2, D=3 > > Captured FX Outputs : > Output 00 [PCM Left] > Output 12 [MIDI Reverb] > > All FX Outputs: > Output 00 [PCM Left] > Output 01 [PCM Right] > Output 02 [PCM Surround Left] > Output 03 [PCM Surround Right] > Output 04 [MIDI Left] > Output 05 [MIDI Right] > Output 06 [PCM Center] > Output 07 [PCM LFE] > Output 08 [???] > Output 09 [???] > Output 10 [???] > Output 11 [???] > Output 12 [MIDI Reverb] > Output 13 [MIDI Chorus] > Output 14 [???] > Output 15 [???] > Output 16 [???] > Output 17 [???] > Output 18 [ADC Left / CDROM S/PDIF Left] > Output 19 [ADC Right / CDROM S/PDIF Right] > Output 20 [MIC / Zoom Video Left] > Output 21 [Zoom Video Right] > Output 22 [S/PDIF Left] > Output 23 [S/PDIF Right] > Output 24 [???] > Output 25 [???] > Output 26 [???] > Output 27 [???] > Output 28 [???] > Output 29 [???] > Output 30 [???] > Output 31 [???] > > S/PDIF Output 0 > Professional Mode : no > Not Audio Data: no > Copyright : yes > Emphasis : none > Mode : 0 > Category Code : 0x12 > Generation Status : original > Source Mask : 0 > Channel Number: left > Sample Rate : 48000Hz > Clock Accuracy: 1000ppm > > S/PDIF Output 1 > Professional Mode : no > Not Audio Data: no > Copyright : yes > Emphasis : none > Mode : 0 > Category Code : 0x12 > Generation Status : original > Source Mask : 0 > Channel Number: left > Sample Rate : 48000Hz > Clock Accuracy: 1000ppm > > S/PDIF Output 2/3 > Professional Mode : no > Not Audio Data: no > Copyright : yes > Emphasis : none > Mode : 0 > Category Code : 0x12 > Generation Status : original > Source Mask : 0 > Channel Number: left > Sample Rate : 48000Hz > Clock Accuracy: 1000ppm > > CD-ROM S/PDIF > Professional Mode : yes > Not Audio Data: yes > Copyright : yes > Emphasis : 3 > Mode : 2 > Category Code : 0x7f > Generation Status : original > Source Mask : 15 > Channel Number: 15 > Sample Rate : 15Hz > Clock Accuracy: unknown > S/PDIF Locked : off > Rate Locked : off > Estimated Sample Rate : 0x0 > > General purpose S/PDIF > Professional Mode : yes > Not Audio Data: yes > Copyright : yes > Emphasis : 3 > Mode : 2 > Category Code : 0x7f > Generation Status : original > Source Mask : 15 > Channel Number: 15 > Sample Rate : 15Hz > Clock Accuracy: unknown > S/PDIF Locked : off > Rate Locked : off > Estimated Sample Rate : 0x0 > > Zoomed Video > Rate Locked : off > Estimated Sample Rate : 0x0 > > > Also check if you have the same pcmxx devices : > > [EMAIL PROTECTED] root]# ls -l /proc/asound/card0/ > total 7 > dr-xr-xr-x2 root root0 Apr 6 15:16 codec97#0 > -r--r--r--1 root root0 Apr 6 15:16 emu10k1 > -r--r--r--1 root root0 Apr 6 15:16 fx8010_acode > -r--r--r--1 root root 4096 Apr 6 15:16 fx8010_code > -r--r--r--1 root root 1024 Apr 6 15:16 fx8010_gpr > -r--r--r--1 root root 640 Apr 6 15:16 fx8010_tram_addr > -r--r--r--1 root root 640 Apr 6 15:16 fx8010_tram_data > -r--r--r--1 root root0 Apr 6 15:16 id > -r--r--r--1 root root0 Apr 6 15:16 midi0 > -rw-r--r--1 root root0 Apr 6 15:16 oss_mixer > dr-xr-xr-x3 root root0 Apr 6 15:16 pcm0c > dr-xr-xr-x 34 root root0 Apr 6 15:16 pcm0p > dr-xr-xr-x3 root root0 Apr 6 15:16 pcm1c > dr-xr-xr-x3 root root0 Apr 6 15:16 pcm2c > dr-xr-xr-x 10 root root0 Apr 6 15:16 pcm3p > > > > > --- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything fr
Re: [Freevo-users] Re: Recording through alsa
> Patrick Laitt wrote: > >>I can get it to play sound by watching tv and running 'aplay /dev/dsp' or >>just 'cat /dev/dsp > /dev/dsp'. >> >> > Looks like a dsp routing problem. > What version of alsa are you using ? > looked at volume controls with alsamixer ? > Tried upgrading alsa ? > also, look at the contents of the files in /proc/asound/card0/emu10k1, > it contains some routing info. > > Zeratul > > > > --- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > ___ > Freevo-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-users > 1.0.3 of alsa, yea ive played with alsamixer, and I tried running 2.6 kernel as well (with the 2.6 kernel alsa drivers). My emu10k1 file just seems to have S/PDIF outputs listed. I dont really understand it very well. Should it have input entries as well? Cheers Patrick --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Re: Recording through alsa
Hi, Im new to the list, tell me if im doing something wrong. I am also using alsa with the emu10k1 (sb live value to be exact) I have my amp connected to the spd/if output. I can get sound through movies mp3's etc... but I cant get live tv to play sound. I am using the analog loopback cable with my bttv card. I can get it to play sound by watching tv and running 'aplay /dev/dsp' or just 'cat /dev/dsp > /dev/dsp'. I have compiled mplayer with alsa9 support and added 'alsa9' to the MPLAYER_AO_DEV config in local_conf.py, my audio device in local_conf.py is set to /dev/dsp, same with my audio input device. anyone got any ideas why freevo wont play the sound coming in? Cheers Patrick --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users