Back to Home / #mythtv / 2002 / 10 / Prev Day | Next Day
#mythtv IRC Logs for 2002-10-16

00:00<Chutt>now, the writer has 8 places it can write until it catches up with the reader
00:01<Chutt>so, the slider, in that case, would show 2 bars used
00:01<Chutt>10, the total, minus 8, how much is left
00:01<nyquiljer>hmm. I guess I keep trying to think of it in terms of position
00:02<Chutt>well
00:02<Chutt>think of it as how far back behind real time you are =)
00:02<nyquiljer>when playing back a recording, the beginning of the show is on the left, and the end is on the right, yeh?
00:03<nyquiljer>and the bar shows your position in the show, how much is played and how much is yet to play?
00:03<nyquiljer>(I havent actually recorded anything myself :)
00:03<Chutt>right
00:03<nyquiljer>it just stands to reason that watching live tv should behave the same way
00:03<nyquiljer>except you dont have an 'end of show' you just have 'end of buffer'
00:04<Chutt>but there's not an end of buffer =)
00:04<Chutt>it loops around forever
00:04<nyquiljer>so say I have a really large buffer..
00:04<nyquiljer>and I've had it paused for 10 minutes
00:04<nyquiljer>there is 10 minutes worth of show that I havent seen
00:05<Chutt>so it'd show 10 minutes worth of slider bar
00:05<nyquiljer>and so then it would show my posiion betwen the beginning of the show, and the 10 minutes that I've yet to see.
00:05<Chutt>heh
00:05<nyquiljer>ok, I see how youve got it working
00:06<nyquiljer>it does seem backwards to me tho
00:06<nyquiljer>maybe I'm just used to tivo
00:13<nyquiljer>I guess I'm lobbying for having the behavior be the same whether youre watching live tv or a recroding. it seems like if I've been watching a recorded special thats 2 hours long, and I'm an hour and a half into it, I have a position that shows how much I've watched, or how much I can rewind, and then how much that is still yet to play. when watching the same special live on tv, shouldnt I have the same indication of how much I
00:13<nyquiljer>have seen/ can rewind through? and then when I have rewound some be able to see my position in the show?
00:13<nyquiljer>I dont mean to keep going round and round about this, I'm just not sure we understand each other completely
00:15<Chutt>hum
00:16<Chutt>i just think that when you pause it
00:17<Chutt>the slider slowly filling up across the display makes the most sense
00:18<nyquiljer>that part does make sense
00:18<nyquiljer>but then as you play forward again, having it slowly go back the other way doesnt make sense
00:18<nyquiljer>oh hm.
00:18<Chutt>it won't go back the otherway until you start seeking forward
00:19<Chutt>and 'emptying' out the buffer
00:19<nyquiljer>hmm
00:21<nyquiljer>that does make perfect sense
00:22<nyquiljer>I think I'm not thinking of the buffer the way it actually is..
00:22<nyquiljer>the way I assume
00:22<nyquiljer>is you start wathcing tv, and if you have an hours worth of buffer, that you can scroll back thru that whole hour, right?
00:23<Chutt>yeah, once it's recorded for an hour
00:23<nyquiljer>right
00:23<Chutt>if you've scrolled back for an hour, the buffer would be 'full'
00:23<Chutt>and you wouldn't be able to go back anymore
00:24<nyquiljer>ok.
00:24<Chutt>so, it'd display the slider all the way to the right
00:24<nyquiljer>so our terminology was different
00:24<Chutt>heh
00:24<nyquiljer>so then I guess the best term for what I'm talking about is 'history'
00:25<nyquiljer>when watching a recording you have an indicator of your position in history
00:25<nyquiljer>but not when watching live tv
00:26<nyquiljer>tivo and dishnetwork display your history (tho they only have 30 minute buffer), and then the buffer to the right of it, so you can see that youve been watching for a half hour, and that you have 5 minutes of 'buffered' show since you paused it for 5 minutes at some point
00:27<Chutt>so the two sliders are just opposites of each other?
00:27<nyquiljer>so it looks exactly the same when watchinga recorded show as live tv (except live tv doesnt have an obvious 'end point'
00:27<nyquiljer>no
00:27<nyquiljer>its one slider
00:27<nyquiljer>but it sort of changes colors
00:27<Chutt>heh
00:27<nyquiljer>like
00:27<nyquiljer>um
00:28<nyquiljer>ever used quicktime?
00:28<nyquiljer>they show buffering like that
00:28<nyquiljer>they have a position indicator, the moves to the right as you watch
00:28<Chutt>don't remember it
00:28<nyquiljer>slowly catching up with the buffered part
00:29<Chutt>ah
00:29<nyquiljer>and since quicktime is so horrible, you always cathch up with it, and it has to wait for the buffer to fill up some more
00:29<nyquiljer>but anyways, tivo shows it the same way
00:29<nyquiljer>except you dont catch up with it unles syou fast forward
00:29<Chutt>what's it do when it loops?
00:30<nyquiljer>i;m not exactly certain :), it isnt that much of a problem because thier buffer starts over whenever you change channels
00:30<Chutt>so's mine
00:30<nyquiljer>ok
00:30<nyquiljer>so when it loops, you cant rewind anymore
00:30<nyquiljer>so then I would gues sit moves back over to the left
00:30<Chutt>hrm
00:30<Chutt>i dunno
00:30<nyquiljer>starting at 0 again
00:30<Chutt>i like my way :)
00:34<nyquiljer>I havent seen what hapenes when you record a show with mythtv, it crashed the one time I tried ( a long time ago). does the slider work the same way? as you watch the show then the length of the slider slowly shrinks as you have less show left?
00:36-!-Universe [~Tinaral@6532175hfc29.tampabay.rr.com] has joined #mythtv
00:36<Chutt>the slider shows where you are in the file, then
00:36<Chutt>err
00:36<Chutt>unless you're talking about watching something while it's recording?
00:37<nyquiljer>no, I was talking about a scheduled recording
00:37<Chutt>there, the slider shows where you are in the file, full left at 0:00, full right when it's done
00:37<nyquiljer>ok, thats what I thought
00:38<Chutt>hey, does http://mythtv.sourceforge.net redirect back to www.mythtv.org for you?
00:38<Universe>aye
00:38<nyquiljer>yeh it does
00:38<Chutt>cool.
00:41-!-Universe [] has quit ["Client Exiting"]
00:41<nyquiljer>so what about having a 'history' slider and a 'buffer' slider? the history one could behave just like the position indicator during playback of a recording, where left is 0:00 and slowly moves to the right as you progress thru the 'file'... I'm not sure how the right endpoint would work tho...hm
00:41<Chutt>heh
00:42<nyquiljer>http://www.pvrcompare.com/TivoStatusBar.jpg
00:42<nyquiljer>that roundish thing with the play button on it slides to the right as you view (or left as you rewind) while the green bit is the buffer
00:44<nyquiljer>ok, I'm done hassling you now :)
00:44<Chutt>heh
00:44<Chutt>that would work if the buffer had an endpoint
00:44<Chutt>but since it just wraps around
00:45<nyquiljer>so it doesnt just reset?
00:45<Chutt>nope
00:45<Chutt>the only position, really, is how far behind real-time you are
00:46<Chutt>and that's how 'full' the buffer is
00:48<nyquiljer>well, you do know how many minutes worth youve actually played/ ffw thru tho
00:48<Chutt>there isn't a start point, either, though
00:48<nyquiljer>and if you are 5 minutes behind realtime when you hit the end of the buffer, itjust keeps going, and youll still be 5 minutes behind (provided its not paused), right?
00:48<Chutt>right
00:49<nyquiljer>there isnt a 'start' point, but ther eis a 'as far back as you can rewind' point, right?
00:49<Chutt>yeah
00:50<nyquiljer>I'm sure thats how tivo displays it, the leftmost point is the farthest you can rewind to
00:52<nyquiljer>and the current position must just move backwards at the same rate the 'as far back' point moves forward. ok, I'm really done this time :)
00:53<nyquiljer>I'll try to get this osd finished up tomorrow, I've got to head to bed
00:53<Chutt>heh
00:53<Chutt>ok, talk to you later =)
00:54<nyquiljer>ok. have a good vacation if I dont see you before then
00:54<nyquiljer>I've never seen florida, so you gotta take some pics :)
00:56-!-Soopaman [Soopaman@h24-66-52-13.wp.shawcable.net] has joined #mythtv
01:07<Soopaman>anyone around?
01:09<Chutt>yup
01:09<Soopaman>you know how you were talking about the png for the osd
01:09<Chutt>yes?
01:09<Soopaman>can pngs be animated?
01:10<Soopaman>'cause i am trying to figure out how to recreate a visualization type background, for the overlay
01:11<Chutt>visualization type background?
01:12<Soopaman>have you used a tivo?
01:13<Chutt>nope
01:13<Soopaman>where there is a "winamp-esque visualization" styled animated background
01:14<Soopaman>i would liken it to putting a menu and stuff over top of a music visualization window
01:14<Soopaman>if that makes sense
01:14<Chutt>ok
01:14<Chutt>we were just talking about the osd for the video.
01:15<Soopaman>yeah
01:15<Soopaman>it is the ssame thing
01:15<Chutt>no, not really
01:15<Soopaman>hmm.. what do you think i mean
01:16<Soopaman>'cause i want to make sure we are on the same page
01:16<Chutt>you want a menu over an animated background
01:16<Chutt>no?
01:16<Soopaman>yes
01:16<Soopaman>but the animated backround isn't a static animation
01:17<Chutt>how's that make a difference?
01:18<Chutt>once you're blending graphics into another set of graphics, i don't think it matters if it's static or generated on the fly
01:19<Soopaman>because I was hoping to have this animated background double as audio-visualizations
01:19<Soopaman>kinda 2 birds, one stone
01:21<Chutt>err
01:21<Chutt>don't get what you're talking about
01:26<Soopaman>you know what, i am just going to stop talking until I have enough time to show you my ideas
04:31-!-blinx [brian@cze.dk] has joined #mythtv
04:31<blinx>good morning
07:22-!-Universe [~Tinaral@6532175hfc29.tampabay.rr.com] has joined #mythtv
07:31<Universe>anyone awake this early?
08:35-!-Conaz [~Conaz@12.106.3.51] has joined #mythtv
08:39<blinx>I am - though it's not really early :)
09:17--> Conaz[meeting](~Conaz@12.106.3.51) has joined #mythtv
09:17-!-Conaz [] has quit [Read error: 104 (Connection reset by peer)]
09:53-!-Universe [] has quit ["Client Exiting"]
11:04-!-Conaz[meeting] is now known as Conaz
11:24-!-Universe [~Tinaral@6532175hfc29.tampabay.rr.com] has joined #mythtv
11:27<Universe>anyone have some time to try to help me with a problem I am having?
11:29<Conaz>Not being one who is really knowlegable yet I probably cannot help much, but I would just type your problem and wait, alot of times people are away, and respond when they return
11:29<Universe>ahh... ok..
11:30<Universe>I try to do the ./setup in the setup folder and get this error couldn't open db.
11:31<Conaz>Ahh, I might be able to help on this one :)
11:32<Conaz>What Linux distribution?
11:32<Universe>gentoo
11:32<Conaz>Ah, sure, one I haven't played with :)
11:32<Conaz>I'll just point you in a direction then
11:32<Universe>sounds good
11:33<Conaz>I'm not sure if gentoo uses /etc/rc.d/init.d/ like startup scripts, but check that directory for a script called 'mysqld'
11:34<Conaz>What I'm suspecting is that perhaps the mySQL server isn't auto-starting on startup
11:35<Universe>I found the mysqld.. tried to run it and get erro its already running
11:36<Universe>and ps -aux shows it running
11:36<Conaz>Ok, have you gone into mysql yet?
11:36<Universe>gone into?
11:36<Conaz>Run: mysql -u root mysql
11:37<Conaz>Just to see if you can connect to the database, etc.
11:37<Universe>Welcome to the MySQL monitor. Commands end with ; or \g.
11:37<Universe>I can connect
11:37<Conaz>Excellent
11:37<Conaz>Ok, next we need to setup the mythtv specific database
11:38<Conaz>Use \q to quit
11:38<Universe>done
11:38<Conaz>Ok, in the mythtv directory, you'll find a database directory
11:38<Conaz>change into that one. You'll have to tell me the filenames as I cannot recall off the top of my head
11:39<Universe>I am guessing you are talking about the mc.sql file?
11:39<Conaz>Aye, that would be the one
11:40<Conaz>ok, I think I remember correctly how to create the database
11:40<Conaz>use: mysql -u root < mc.sql
11:40<Universe>ERROR 1006 at line 1: Can't create database 'mythconverg'. (errno: 17)
11:42<Conaz>Ok, let's see if it is there already: mysql -u root mythconverg
11:42<Universe>Can't read dir of './mythconverg/' (Errcode: 13)
11:43<Conaz>Ok, so it must not exist then
11:43<Universe>appears so
11:44<Conaz>Go out to the mysql.org website and look under documentation, there is a section on creating databases, I cannot recall it off the top of my head. I'm a postgresql user myself, and only use mySQL when running other developer's programs
11:45<Conaz>I recall that the documentation is pretty good.
11:45<Conaz>You might also want to look at pre and post install processes
11:45<Conaz>I think there is a script/app that you run to initialize the mysql server database
11:46<Conaz>Perhaps it wasn't run after the install
11:46<Conaz>(of mysql)
11:46<Universe>there is, and I have ran that.
11:46<Conaz>Ok, well, then look at the database creation section and see if we can manually create one, hopefully errors will point us in a better direction
11:47<Universe>ok.. I will have to read through it at work...
11:47<Conaz>Hehee, I know how that goes :)
11:48<Conaz>At least we know that is the source of the issue with the ./setup
11:48<Universe>hmm
11:48<Conaz>Once you get the database created, you can always just delete the first line out of the mc.sql dump file
11:48<Universe>actually.. I just checked the place mysql stores the files and there is a mythconverg there..
11:49<Conaz>try: mysql -u mythtv -p mythtv mythconverg
11:49<Conaz>I don't think it would have created the uid/pw already though
11:49<Conaz>Since the mc.sql failed at line 1
11:50<Conaz>Well, I'm afraid I'm off to a meeting, then lunch for Boss's day
11:50<Universe>ok.. Thanks for the help
11:50<Universe>I am sure I will ask for more later. :-)
11:50<Universe>dont have too much fun at the meeting
11:50<Conaz>Sure thing, glad I could get ya pointed in the right direction
11:51<Conaz>I hear ya
11:51-!-Conaz is now known as Conaz[meeting]
11:57-!-Universe [] has quit ["Client Exiting"]
12:54<-- Syn-has quit (Read error: 104 (Connection reset by peer))
12:57--> Syn-(~hisyn@pcp01516112pcs.reding01.pa.comcast.net) has joined #mythtv
12:57-!-Universe [~Yeah@pwc2-hs-nk.bbnplanet.com] has joined #mythtv
13:10<Universe>ok.. before I left home... I was able to do the 'mysql < mc.sql'... it went through... I am able to 'mysql mythconverg' without any errors, but setup still says it can't open the db.
13:12<Chutt>do you have the qt mysql plugin installed?
13:12<Universe>I do..
13:12<Chutt>the -mt one?
13:13<Universe>hmm... not sure about that... I let my system compile it. the ebuild for gentoo and added mysql in the make.conf file..
13:14<Universe>I was getting the error about the qt sql plugin before
13:14<Universe>but after recompiled qt, that error went away
13:17<Universe>I was getting this error before I recompiled. 'QSqlDatabase warning: QMYSQL3 driver not loaded'
13:17<Universe>but not anymore..
13:17<Chutt>ah, ok
13:19<Universe>So I should have the correct qt sql plugin, right?
13:20<Chutt>yup
13:20<Universe>thats good... I dont want to recompile qt again tonight..
13:20<Universe>heh
13:21<Universe>do you have any idea what might be going wrong?
13:21<Chutt>nope
13:21<Chutt>you did do a make install, right?
13:21<Universe>peachy
13:21<Universe>I did
13:24<Universe>I will try it again tonight... I will download the CVS version instead of the tar..
13:24<Chutt>not much has changed
13:24<Universe>ahh.. ok
13:26<Conaz[meeting]>Make sure you can 'mysql -u mythtv -p mythtv mythconverg'
13:26-!-Conaz[meeting] is now known as Conaz
13:27<Universe>Conaz... when I tried that, I just get the help for mysql, showing what all the options do
13:27<Conaz>As that is the default uid/pw for accessing the mysql database if I recall correctly
13:27<Conaz>Perhaps it isn't -p for identifying the password
13:27<Conaz>As I said, I'm much more familiar with postgresql database
13:28<Universe>I tried just mysql -u mythtv mythconverg and it worked fine.
13:28<Universe>no errors
13:28<Conaz>And it didn't prompt you for a password?
13:28<Universe>nope..
13:29<Conaz>Perhaps I'm fuzzy on the uid/pw that the mc.sql file sets up, as I recall it was quite late both times I loaded it up
13:30<Conaz>This line: leads me to believe that the uid/pw is mythtv/mythtv: GRANT ALL ON mythconverg.* TO mythtv@localhost IDENTIFIED BY "mythtv";
13:31<Chutt>that's right.
13:31<Conaz>So it seems strange to me that you are able to 'mysql -u mythtv mythconverg' without having it prompt you for the passworcx
13:31<Conaz>password even
13:32<Conaz>So perhaps when the setup proggy is attempting to connect using the uid/pw pair it is failing since it seems that the database doesn't contain the password for the uid: mythtv
13:36<Universe>thats possible
13:36<Conaz>At least an avenue to look at
13:37<Universe>hmm... I guess I will have to figure out how to manually setup a username and password for that database
13:37<Conaz>You could actually add just a password easy enough, it is in the 'mysql' database, in the 'user' table
13:38* Conazfears he is becoming too aquainted with mysql
13:38<Universe>heh
13:38<Conaz>Especially even as we speak I'm setting up a new postgresql database :)
13:39<Universe>man... I should have configured SSH on my box before I left for work..
13:40<Conaz>Hehee
13:47<Universe>well... how would I setup a password Conaz?
13:48<Conaz>You might try this SQL statement:
13:48<Conaz>update user set password='mythtv' where user='mythtv';
13:48<Conaz>and see if that does the trick
13:49<Universe>in mysql with mythconverg open?
13:49<Conaz>I'm not sure if you can manually update the password field, but I suspect they run a trigger that does the 'salt' on it
13:49<Conaz>In mysql with mysql open
13:58<Universe>I will try that tonight..
14:00<Conaz>Sounds good, I'll likely drop by irc for a bit later this evening as well
14:02<Universe>Ok... I dont get off until 10 EST... So it will be a while.
14:03<Universe>Unless I can try to walk my fiance through installed SSH on my linux box... which I think would be impossible.
14:04* Conazlaughs
14:20-!-root [~root@cam049101.student.utwente.nl] has joined #mythtv
14:20<root>hi all
14:21-!-root is now known as lekkah
14:21<lekkah>hi
14:21<Conaz>Greetings
14:21<lekkah>I have got a problem compiling mythtv... is there someone who could help me
14:21<lekkah>it gives shit about QPushButton etc.
14:21<lekkah>all qt things.. and I have got 3.0.5 installed
14:22<Conaz>I'm afraid that'll be well out of my ability, hopefully one of the others will drop back soon
14:23<Chutt>you probably don't have it instlled right.
14:23<Chutt>qt, that is
14:24<lekkah>hmm
14:24<lekkah>what did I do wrong? any suggestions
14:59<lekkah>exit
14:59-!-lekkah [] has quit ["using sirc version 2.211+KSIRC/1.2.1"]
15:40-!-Tuscany0 [~username@user-11218nm.dsl.mindspring.com] has joined #mythtv
16:09<Universe>hey Chutt.. you still here?
16:09<Chutt>yup
16:09<Universe>I was thinking about it
16:10<Universe>when I compiled mythtv... I didn't have the qt plugin working.. .Does that make a difference?
16:10<Universe>the qt sql plugin, that is
16:10<Chutt>shouldn't
16:10<Universe>ok.
16:18<Universe>ok... that main.cpp is the setup source, right?
16:19<Universe>in the setup folder.
16:19<Chutt>yes
16:20<Universe>so all the SQL database informatoin is stored in mysql.txt or settings.txt...
16:21* Universeis currently learning C++ and can someone read the code. :-)
16:21<Universe>err somewhat
16:23<Chutt>it's all in mysql.txt
16:23<Universe>thats what I figured.
16:27<Universe>does it use localhost or your actual hostname for 'DBHostName'?
16:28<Chutt>it says 'localhost' doesn't it?
16:30<Universe>I can't check it... I am at work.. I was just wondering.
16:30<Universe>I still need to install SSH..
16:30<Universe>I downloaded the source at work and looking at it
16:51-!-Disconnected (Connection reset by peer).