/srv/irclogs.ubuntu.com/2007/11/20/#ubuntu-mythtv.txt

williammandaI have been working off and on with a guy in the linuxtv room getting it working00:00
superm12.6.2401:27
superm1is the next one01:27
superm1yeah01:27
* directhex upgrades his backend to gutsy01:28
MythbuntuGuest05hey, I'm installing a 2nd hard drive and am having problems getting it to be a rw drive.02:33
MythbuntuGuest05I modified fstab to mount it as rw but it still seems to be read only02:33
MythbuntuGuest05it's a ext3 partition too02:36
MythbuntuGuest05so it should be able to write02:36
=== tritium_ is now known as tritium
CCB0x45hey all the sudden after my last reboot my mythtvbox  loses the picture to my tv even though there is no screensaver08:02
CCB0x45after sitting idle for a while08:02
CCB0x45I have to log out of X and back in to get it back08:03
Solarbabyanyone have any idea how to run commercial skip on a recording that did not record with commercial skipping activated?10:15
SolarbabyI believe I just figured it out..  you can do it through the frontend10:22
jakemonOanyone have any luck w/pvr-350 tv-out?15:15
beavistgm4883_laptop, are you around?15:23
tgm4883yep15:24
beavisI committed the first version to google codes's svn repository15:24
tgm4883nice, link?15:24
beaviswith support for LiveTV, scheduled recordings and idle15:24
beavishttp://mythbackend-notifier.googlecode.com/svn/trunk/trayicon.py15:25
directhex|bspjakemonO, support is disappearing. the cons outweight the pros15:26
beavisjust change the IP in there from http://192.168.178.23:6544/xml to the one from your BE15:26
beavisthis notifier works fine here on gutsy (with gnome)15:26
beavisit now uses DOM since DOM's easier to use for navigation through the XML tree15:27
beavistgm4883, it displays the title as a tooltip15:28
tgm4883arg, i feel like an idiot.  is it just ./trayicon.py to run?15:29
beavisyes15:31
tgm4883hmm15:33
tgm4883ok, made executable, needs wx module15:33
tgm4883would that be python-wxgtk##?15:34
tgm4883i have libwxbase2.8-0 and libwxgtk2.8-0 installed15:35
beavispython-wxgtk2.6/gutsy uptodate 2.6.3.2.1.5ubuntu1215:35
beavispython-wxversion/gutsy uptodate 2.8.4.0-0ubuntu315:35
beavisthat's what I have installed here15:35
beavisI'll switch to wxgtk2.815:36
tgm4883i just installed 2.815:36
tgm4883so lets see what happens15:37
tgm4883hmm15:38
tgm4883doesn't appear to work.  Let me go back to 2.615:38
beavisit works here with 2.815:39
tgm4883oh15:39
tgm4883it's just appears to hang for me15:39
beavisdoes it display an error msg?15:39
tgm4883nope15:39
beavisso it should work, you probably just don't see the icon15:40
tgm4883sounds about right15:40
tgm4883do I need to grab anything additional for that?15:41
beavisI added some debug output15:42
beavissvn up again please15:42
tgm4883:( nothing15:46
tgm4883dangit, sec15:47
tgm4883nope, still nothing15:48
tgm4883arg15:49
tgm4883nm15:49
tgm4883it works15:49
tgm4883i had only changed the first IP I saw15:49
tgm4883didn't know there was a second one15:49
* tgm4883 smacks head15:49
tgm4883beavis, what tuner is it checking?15:51
beavisoops yes, sorry, yes, not the best coding ;) just wanted to add the title to the tooltip15:53
beavistgm4883, it checks only for the first one, my idea is to use several icons for all tuners15:53
tgm4883hmm15:54
tgm4883my tuner 1 is recording, although it the notifier says no recording15:54
tgm4883beavis, what do you think about this.  (idk, how hard it is to code though).  What about having the main icon change to red if any tuner is recording, then if you click on it, a drop down menu listing the remaining encoders15:59
beavistgm4883, check your xml file if there's a tag <Encoder ... with state=116:04
beavistgm4883, does it display the icon now?16:04
tgm4883it does display the icon16:05
beaviswhat was the issue?16:05
tgm4883i dont' have the code you requested16:05
tgm4883I have the color changing code though16:06
tgm4883but16:06
tgm4883it says recording == #16:06
tgm4883not state == #16:06
tgm4883the issue with the icon not showing up was not having the correct IP address in both areas16:06
beavis<Encoders count="1">16:07
beavis<Encoder local="1" connected="1" id="1" state="0" hostname="maxi"/>16:07
beavisthat's where it gets the state from16:07
tgm4883in trayicon.py or the xml file?16:07
tgm4883<Encoder local="1" connected="1" id="1" state="4" hostname="myrtle">16:08
tgm4883thats my xml file16:08
tgm4883err16:08
tgm4883whats in it16:08
tgm4883but I can't tell where in the trayicon.py its looking for encoder 116:08
beaviswell yes, it checks for the first tag <Encoder and it's attribute state16:09
tgm4883hmm16:10
tgm4883then i wonder whats happening16:10
beavisdef activeVideoDevices checks for the state16:10
beavisso you get a black icon?16:10
tgm4883yes16:11
tgm4883even though my first recorder (tuner 1) is recording16:11
tgm4883im wondering if it's this16:11
tgm4883elif recording == "4":16:11
beavis4 means recording16:12
beavis1 means LiveTV16:12
tgm4883shouldn't it be elif state == "4":16:12
beavisit's state in activeVideoDevices, in main it's mapped to recording16:12
tgm4883ah16:13
beaviswell I deactivated my second encoder, I just need one at the moment, so I don't really know which one it takes16:16
tgm4883well let me fire up both other recorders and we will see16:16
beavisit really should create a list with the state for <Encoders count=X>16:17
beavisthe script was just planned as a quick workaround for my needs only ;-P16:17
tgm4883hmm16:18
beavisstill black?16:19
tgm4883interesting16:21
tgm4883it was watching my last tuner16:21
tgm4883which (not that I think it matters) is on my slave backend16:22
tgm4883and is tuner 616:22
tgm4883I have tuner 1, tuner 2, and tuner 616:22
tgm4883and it was watching tuner 616:22
beavisinteresting hnmm16:23
beavishttp://www.oreilly.com/catalog/pythonxml/chapter/ch01.html <-- DOM and python16:26
beavisyou could check for the first encoder only, like: if node.getAttribute("id")=="1" state=node.getAttribute("state")16:29
beavis(yes it's a quick hack ;) )16:29
tgm4883_laptopYea, i'll try that and see where we get.  Ideally we want to check all tuners (or perhaps just backends).  But isolating one is the first step i think16:32
tgm4883beavis, yep that works16:43
tgm4883beavis, stop me if this makes no sense (the only programing ive done is in java).  But can we stick a for loop in there and increment the id#?16:45
beavistgm4883, it *is* already a loop, I added some code now which lists all upcoming recording17:11
beavistgm4883, svn up17:11
beavistgm4883, do you use svn? It's easier than downloading17:12
tgm4883no, launchpad and bzr17:12
tgm4883i think ive used svn once17:12
beavisapt-get install subversion17:14
beavisand then17:15
beavissvn checkout http://mythbackend-notifier.googlecode.com/svn/trunk/ mythbackend-notifier-read-only17:15
beavisonce and svn up after that17:15
tgm4883k17:16
tgm4883when I svn up17:16
tgm4883do I need to17:17
tgm4883svn up http://........17:17
tgm4883beavis, remember, everything that i say could be wrong, im reading some stuff off the internet about python and my only coding experience is with java17:19
tgm4883but17:19
tgm4883can you stick target = ... before def activeVideoDevices( ):17:20
tgm4883then it should be a global variable17:20
tgm4883and we can get rid of the other two local target variables17:20
beavisyou need only svn checkout once with the whole path17:20
tgm4883k17:20
beavissvn update (up) without then17:21
tgm4883i just tested the above target thing and it works for me17:21
beavisI use Eclipse as IDE, there is a nice python plugin for eclipse17:22
beavisbut Gedit works fine as well17:23
tgm4883im looking at it in gedit, but I also have idle17:23
tgm4883installing eclipse now17:24
beaviseclipse-pydev is what you need17:24
tgm4883so would moving target work?  or is there something else that would mess up?17:24
beavisthis will give you code completion, the greatest thing in the world ;)17:24
beavissure it should be defined globally17:25
beaviswe probably need a class which puts all information into an object17:25
beavisto allow things like card[1].state....17:25
beaviseclipse needs java17:26
beavissun-java6-jre/gutsy uptodate 6-03-0ubuntu217:26
tgm4883I added some other stuff to the info line for the state.  Not sure if you want it, but i'll post it here17:27
tgm4883actually, maybe we should take this to #ubuntu-mythtv-dev17:28
tgm4883as this is the support channel17:28
beaviswe can create whatever we want ;)17:29
beavisor just use gtalk or something like this17:30
tgm4883well #ubuntu-mythtv-dev is the development channel, but whatever you want17:31
tgm4883here is the stuff i added17:31
tgm4883http://pastebin.com/m9ca44e417:31
mindframe-is there a way to tell mythbuntu to burn a movie to a cd or dvd?17:43
mindframe-something 'automated'17:44
tgm4883like mytharchive?17:44
tgm4883i haven't used that for movies though17:44
mindframe-i was thinking more of converting an avi to dvd17:44
tgm4883like mytharchive?17:44
mindframe-i will look into that17:44
tgm4883mytharchive should transcode it into whatever format you tell it to17:45
mindframe-so if i have a headless frontend will it use the burner on that backend?17:45
tgm4883why would you have a headless frontend?17:46
tgm4883seriously, whats the point?17:46
mindframe-save $17:46
tgm4883and how do you travel through the menus?17:46
mindframe-no need to buy a hard drive17:46
tgm4883?17:46
mindframe-i think headless may be the wrong term17:46
mindframe-sorry17:46
tgm4883what does  a hard drive have to do with being without a monitor?17:46
mindframe-diskless17:46
tgm4883ah17:46
mindframe-im tired17:47
tgm4883i don't think it will work then17:47
tgm4883as it needs somewhere to store the transcoded material before it burns17:47
mindframe-couldn't it store it to an nfs share?17:47
tgm4883it could, but you still have one problem17:48
tgm4883now if you can nfs share the dvd burner17:48
tgm4883then maybe it will work17:48
tgm4883but this is probably uncharted territory17:48
tgm4883so you will need to have a compass and make a map of the new world :)17:48
mindframe-:)17:48
tgm4883beavis, i also think that it is showing my last scheduled recording twice17:52
mindframe-how does mythtv detect commercials?18:02
tgm4883mindframe-, it uses a variety of different methods18:05
tgm4883black frame detection, logo detection, etc18:07
jakemonOanyone have a gutsy ivtv-fb module compiled to share?21:16
directhex<directhex|bsp> jakemonO, support is disappearing. the cons outweight the pros21:28
=== claydoh_ is now known as claydoh
jakemonOi got that, but i just hosed my machine and i'm rebuilding, so i was just wondering...21:37
jakemonOalso, directhex, why do the cons outweigh the pros?21:38
directhexjakemonO, pros: it exists21:40
directhexcons: can only play mpeg, hell to set up, low resolution, poorly supported, no opengl support (myth is moving further & further towards gl for menus etc)21:40
jakemonOah, so which tuner would be recommended?21:41
directhexyou're not talking about a tuner21:42
directhexthe 350 is fine as an analog mpeg2 capture card, it's worthless as a tv-out card21:43
jakemonOi'd go with my old edgy setup, but its been giving me problems with the sechedulesdirect21:43
jakemonOmy 350 isnt a tuner?21:43
directhexyour 350 is a tuner and a tv-out card21:44
directhexivtv-fb would be required only for tv-out, so you're interested in using the junk portion21:44
directhexnobody would ever recommend a 350 to you now, unless it was second hand, and cheaper than a 15021:45
superm1yes there is jakemonO21:45
superm1there is a thread on the forums detailing it21:45
superm1and you need to actiavte gutsy-proposed21:45
superm1for a fix that is in it21:46
jakemonOah, i'll try that just as soon as I ensure that the module i just compiled doesnt work21:46
jakemonO(thanks superm1)21:46
jakemonOdirecthex: i'm using an old pc, so I was looking for a card that had hardware en/decode and video out to ease the cpu budren, any recommendations? (I also need a remote)21:47
directhexjakemonO, any graphics card. a $10 card will be infinitely better overall than a 350 for tv-out21:48
jakemonOhm21:48
jakemonOit needs component out21:50
directhexyour 350 doesn't have component out, it has composite or svideo21:52
NeoFaxHello everyone21:52
jakemonOcomposite, thats what i mean21:53
jakemonO<<sory>>21:54
NeoFaxI am having a problem connecting with a FE to my BE.  MySQL errors saying hostname.local not allowed.  However, I have the BE setup to allow from any host using the % in the privileges.21:54
directhexcomposite is the absolute bottom-of-the-range output option. petty much every card on the market will do composite out21:54
jakemonOsuperm1, I'm reading this thread: http://ubuntuforums.org/showthread.php?t=56807422:19
=== claydoh_ is now known as claydoh

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!