djbeenie | hello, any way to use my directtv remote with my usb-uirt2 transmitter? | 00:22 |
---|---|---|
=== Gibby_afk is now known as Gibby | ||
Pwen | hi all. question about mythtv-backend and upstart. my backend won't start using upstart, but will if I manually run it from the commandline. when trying to start it using upstart/init.d it prints this to the log: | 06:20 |
Pwen | 2010-08-28 15:19:18.875 Using configuration directory = /.mythtv | 06:20 |
Pwen | 2010-08-28 15:19:18.886 Cannot locate your home directory. Please set the environment variable HOME | 06:20 |
Pwen | 2010-08-28 15:19:18.897 Failed to init MythContext. | 06:20 |
Pwen | I guess I could symlink /.mythtv to /home/mythtv/.mythtv, couldn't I? | 06:22 |
Pwen | that should work. | 06:22 |
Pwen | ... nope | 06:23 |
Gibby | how do you start it? | 06:32 |
Pwen | sudo service mythtv-backend start | 06:32 |
Pwen | or sudo /etc/init.d/mythtv-backend start | 06:33 |
Gibby | hmm ok, give me a second I saw this problem last week | 06:33 |
Gibby | what is the userid you use to login with? | 06:33 |
Pwen | its not mythtv, I changed the /etc/init/mythtv-backend.conf to say user=owen (my username) | 06:34 |
Pwen | and all the correct mythtv configs etc are in /home/owen/.mythtv/ | 06:34 |
Gibby | open a terminal and do id owen | 06:34 |
Pwen | owen@owen-htpc:~$ id owen | 06:34 |
Pwen | uid=1000(owen) gid=1000(owen) groups=1000(owen),4(adm),20(dialout),24(cdrom),44(video),46(plugdev),105(mythtv),113(admin),115(sambashare),118(lpadmin) | 06:34 |
Pwen | so when I run mythtvbackend from a terminal in that username, it works fine | 06:35 |
Gibby | change it back to start with mythtv ID, no reason to start it as your ID | 06:35 |
Pwen | it doesnt work with user mythtv either | 06:36 |
Gibby | did you do anything to the startup config's? | 06:37 |
Pwen | aside from changing the username, nope | 06:37 |
Pwen | its the most recent version, I updated just before | 06:38 |
Pwen | but my backend hasnt auto started since the switch to upstart | 06:38 |
Gibby | did it ever work? | 06:38 |
Pwen | no it never has, I am just getting around to fixing it now :) | 06:38 |
Gibby | ahhhhh ok | 06:38 |
Gibby | your backend has a static IP right? | 06:40 |
Pwen | yep of course | 06:40 |
Gibby | copy you /etc/init.d/mythtv-backend and put it in pastebin.org | 06:41 |
Pwen | Ive been reading on the forums about it, they say the fix is to specify a --user, but it doesnt :( | 06:42 |
Pwen | http://pastebin.org/791853 | 06:42 |
Gibby | what version is the OS? | 06:45 |
Pwen | 10.04 I believe | 06:45 |
Gibby | Use this for your /etc/init.d/mythtv-backend script | 06:46 |
Gibby | http://pastebin.org/791878 | 06:46 |
Gibby | You shouldn't have to relink it to upstart since you aren't change the name | 06:46 |
Pwen | owen@owen-htpc:~$ sudo service mythtv-backend start | 06:48 |
Pwen | start: Unknown job: mythtv-backend | 06:48 |
Gibby | cd /etc/init.d | 06:48 |
Gibby | ls -al|grep backend | 06:48 |
Pwen | owen@owen-htpc:/etc/init.d$ ls -al | grep backend | 06:48 |
Pwen | lrwxrwxrwx 1 root root 21 2010-08-28 14:56 mythtv-backend -> /lib/init/upstart-job | 06:48 |
tgm4883 | Pwen, do you have a /etc/init/mythtv-backend.conf | 06:50 |
Gibby | Pwen: /etc/init/mythtv-backend.conf should look like this http://pastebin.org/791910 | 06:52 |
* tgm4883 goes back to mythbuntu-bare | 06:53 | |
Gibby | Pwen: After you check that and it still doesn't work do: cd /etc/init.d then sudo update-rc.d mythtv-backend defaults | 06:53 |
Gibby | tgm4883: bare? like back? | 06:54 |
tgm4883 | Gibby, yep ;) | 06:54 |
tgm4883 | BAckup and REstore | 06:54 |
Gibby | becareful, don't want any baby myth's | 06:55 |
Gibby | hmm Guess i should backup... just in case | 06:55 |
tgm4883 | Gibby, won't get any, i'm just working with the backend right now ;) | 06:55 |
Pwen | Gibby: yeah I pasted that in to mine | 06:55 |
Gibby | lucky... mine does like it there | 06:55 |
Gibby | *doesn't | 06:56 |
Pwen | still prints an unknown job message after the rc.d update | 06:56 |
Gibby | what is the out put of runlevel? | 06:59 |
Pwen | owen@owen-htpc:/etc/init.d$ runlevel | 06:59 |
Pwen | N 2 | 06:59 |
Gibby | :? | 07:00 |
Gibby | dpkg -l upstart | 07:00 |
Pwen | ... I guess that's not quite right? | 07:00 |
Gibby | no it is right.... | 07:00 |
Pwen | owen@owen-htpc:/etc/init.d$ dpkg -l upstart | 07:00 |
Pwen | Desired=Unknown/Install/Remove/Purge/Hold | 07:00 |
Pwen | | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend | 07:00 |
Pwen | |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | 07:00 |
Pwen | ||/ Name Version Description | 07:00 |
Gibby | just the last line | 07:00 |
Pwen | ii upstart 0.6.5-7 event-based init daemon | 07:01 |
Gibby | dpkg -l mythtv-backend | 07:01 |
Pwen | ii mythtv-backend 0.24.0~trunk25893-0ubuntu0~mythbun A personal video recorder application (server) | 07:01 |
Gibby | what happens if you run /etc/inti.d/mythtv-backend start? | 07:02 |
Pwen | same thing: that is, nothing, but same error message in the log | 07:02 |
Gibby | and you verified with ps -ef that it is not running? | 07:02 |
Pwen | owen@owen-htpc:/etc/init.d$ sudo /etc/init.d/mythtv-backend restart | 07:04 |
Pwen | Rather than invoking init scripts through /etc/init.d, use the service(8) | 07:04 |
Pwen | utility, e.g. service mythtv-backend restart | 07:04 |
Pwen | Since the script you are attempting to invoke has been converted to an | 07:04 |
Pwen | Upstart job, you may also use the restart(8) utility, e.g. restart mythtv-backend | 07:04 |
Pwen | mythtv-backend start/running, process 4302 | 07:04 |
Pwen | owen@owen-htpc:/etc/init.d$ sudo ps -ef | grep 4302 | 07:04 |
Pwen | owen 4325 2422 0 16:04 pts/0 00:00:00 grep --color=auto 4302 | 07:04 |
Gibby | ps -ef|grep back | 07:05 |
Gibby | dpkg -l ureadahead | 07:05 |
Pwen | owen@owen-htpc:/etc/init.d$ ps -ef|grep back | 07:06 |
Pwen | owen 4334 2422 0 16:06 pts/0 00:00:00 grep --color=auto back | 07:06 |
Pwen | ii ureadahead 0.100.0-4.1.3 Read required files in advance | 07:07 |
Gibby | are any other upstart jobs failing? | 07:07 |
Pwen | dont think so, heaps of the init.d scripts were linked to upstart when the changeover happened | 07:07 |
Pwen | and the system works fine aside from autostarting the myth backend | 07:08 |
Gibby | cat /etc/lsb-release | 07:08 |
Pwen | owen@owen-htpc:/etc/init.d$ cat /etc/lsb-release | 07:08 |
Pwen | DISTRIB_ID=Ubuntu | 07:08 |
Pwen | DISTRIB_RELEASE=10.04 | 07:08 |
Pwen | DISTRIB_CODENAME=lucid | 07:08 |
Pwen | DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS" | 07:08 |
tgm4883 | Pwen, can you pastebin your /etc/init.d/mythtv-backend | 07:11 |
Pwen | http://pastebin.org/791952 | 07:12 |
Pwen | so ... that looks exactly like the stuff I put into /etc/init/mythtv-backend before, for upstart | 07:13 |
Pwen | I have since changed that back btw | 07:13 |
Gibby | brb | 07:15 |
tgm4883 | out of curiosity, what does this return | 07:15 |
tgm4883 | service mythtv-backend stop | 07:15 |
tgm4883 | service mythtv-backend status | 07:15 |
Pwen | owen@owen-htpc:/etc/init.d$ sudo service mythtv-backend stop | 07:16 |
Pwen | stop: Unknown instance: | 07:16 |
Pwen | owen@owen-htpc:/etc/init.d$ service mythtv-backend status | 07:16 |
Pwen | mythtv-backend stop/waiting | 07:16 |
tgm4883 | well thats at least semi-better | 07:16 |
Pwen | when I 'start', it says its started and gives a PID, but ps ax | grep <pid> doesnt turn anything up | 07:16 |
tgm4883 | so start says that it starts | 07:17 |
tgm4883 | anything in the backend log? | 07:17 |
Pwen | yeap | 07:18 |
Pwen | 2010-08-28 16:04:08.794 mythbackend version: trunk [25893] www.mythtv.org | 07:18 |
Pwen | 2010-08-28 16:04:08.794 Using runtime prefix = /usr | 07:18 |
Pwen | 2010-08-28 16:04:08.798 Using configuration directory = /.mythtv | 07:18 |
Pwen | 2010-08-28 16:04:08.809 Cannot locate your home directory. Please set the environment variable HOME | 07:18 |
Zinn | [www.mythtv.org] MythTV, Open Source DVR | 07:18 |
Pwen | 2010-08-28 16:04:08.820 Failed to init MythContext. | 07:18 |
Pwen | its starting as the wrong user, like it is ignoring the --user=$USER part of the upstart script | 07:19 |
tgm4883 | and you have a /etc/init/mythtv-backend.conf file and it sets the USER? | 07:20 |
Pwen | yep | 07:21 |
Pwen | http://pastebin.org/791859 | 07:21 |
Pwen | thats my file | 07:21 |
Pwen | no matter what user I specify, by it mythtv or owen, the result is the same | 07:22 |
Pwen | tho when I run mythbackend from a console in the user owen, it works fine | 07:22 |
tgm4883 | thats cause the issue isn't the user you are setting | 07:23 |
tgm4883 | Pwen, what about "echo $LANG" | 07:23 |
Pwen | owen@owen-htpc:/etc/init.d$ echo $LANG | 07:24 |
Pwen | en_AU.UTF-8 | 07:24 |
tgm4883 | ok, try this | 07:25 |
tgm4883 | edit that script, and replace '--user $USER' with '--user mythtv' | 07:25 |
tgm4883 | that way it won't try to use the variable | 07:25 |
Pwen | same result - w/ user "mythtv" or "owen" | 07:26 |
tgm4883 | ok, then instead replace $ARGS with the full ARGS list '--logfile /var/log/mythtv/mythbackend.log --user mythtv' | 07:27 |
tgm4883 | that way only the last line matters | 07:28 |
Pwen | owen@owen-htpc:/etc/init.d$ ps ax | grep 4775 4775 ? Ss 0:00 /bin/sh -e /proc/self/fd/12 4800 pts/0 S+ 0:00 grep --color=auto 4775 | 07:29 |
Pwen | now there is a process with that id | 07:29 |
tgm4883 | service mythtv-backend status | 07:29 |
Pwen | owen@owen-htpc:/etc/init.d$ service mythtv-backend status | 07:29 |
Pwen | mythtv-backend start/running, process 4775 | 07:29 |
Pwen | owen@owen-htpc:/etc/init.d$ | 07:29 |
Pwen | :D | 07:29 |
tgm4883 | ok sec | 07:29 |
tgm4883 | what language/locale settings did you pick during installation? | 07:30 |
Pwen | I cant remember, that was a long time ago | 07:31 |
Pwen | but I would assume I picked English/Australia | 07:31 |
Pwen | or Brisbane/Australia | 07:31 |
tgm4883 | ok, let me try to reproduce here | 07:32 |
tgm4883 | hmm, no australia keyboard layout | 07:33 |
Pwen | for keyboard I pick standard US 104 key | 07:33 |
tgm4883 | ok | 07:33 |
tgm4883 | I chose an AU timezone, so hopefully it will set it to that | 07:34 |
tgm4883 | almost done installing | 07:39 |
Gibby | sorry i am back, Pwen: what was the fix? | 07:40 |
tgm4883 | Gibby, we basically bypassed the variables in the backend conf | 07:40 |
tgm4883 | so now i'm trying to reproduce it | 07:40 |
Gibby | ahh | 07:40 |
Gibby | where the permissions correct on the file? | 07:40 |
tgm4883 | yea | 07:41 |
Gibby | and was the init script properly calling the conf file? | 07:41 |
tgm4883 | yep | 07:41 |
tgm4883 | I think it might be a language thing | 07:41 |
Gibby | Pwen: Did you upgrade from 9.04 or 9.10? | 07:41 |
Pwen | 9.10 | 07:42 |
tgm4883 | booting up now | 07:43 |
Gibby | I read there were alot of issues with upstart and mythbackend upgrading from 9 to 10 | 07:44 |
Pwen | yeah :/ | 07:46 |
tgm4883 | well not causing issues out of the box, let me upgrade to trunk | 07:46 |
* tgm4883 shrugs | 07:47 | |
tgm4883 | idk, that is odd | 07:47 |
tgm4883 | it will probably break on upgrades though | 07:47 |
Pwen | yeah | 07:48 |
Pwen | copying over my custom file on each update wont be as annoying as manually starting it every reboot | 07:49 |
tgm4883 | true | 07:49 |
Pwen | it'll get fixed eventually I'm sure :p | 07:49 |
tgm4883 | superm1, thoughts on why the backend upstart script doesn't like variables on an upgrade from 9.10? | 07:49 |
Pwen | just going to reboot to try it out, brb | 07:49 |
tgm4883 | ok | 07:49 |
tgm4883 | he better hurry back, i'm falling asleep here | 07:52 |
Pwen | yeap works fine now | 07:53 |
Pwen | after a reboot | 07:53 |
tgm4883 | sweet | 07:53 |
Gibby | 5hr energy... no 2pm feeling later | 07:53 |
tgm4883 | Gibby, but what does that say about 2AM? | 07:54 |
Gibby | lol... i took 1 2hrs agos | 07:54 |
yardleydobon | Every once in a while the sound in a new recording gets screwed up, but will be fine again at the next recording. Does this bug sound familiar to anyone? | 07:54 |
tgm4883 | yardleydobon, you are using a ivtv tuner aren't you. Like the PVR-150 | 07:55 |
yardleydobon | tgm4883: one of the hauppauges. | 07:55 |
Pwen | oh yeah while I'm here, another question or two... what's this all about? | 07:55 |
tgm4883 | yardleydobon, and you are using composite in? | 07:55 |
Pwen | The following packages will be upgraded: mythtv-common | 07:55 |
Pwen | dpkg: error processing /var/cache/apt/archives/mythtv-common_0.24.0~trunk25893-0ubuntu0~mythbuntu1_i386.deb (--unpack): trying to overwrite '/usr/share/mythtv/mythconverg_backup.pl', which is also in package mythtv-database 2:0.24.0~trunk-24111-0ubuntu1 | 07:56 |
yardleydobon | tgm4883: yep | 07:56 |
tgm4883 | yardleydobon, yep, I know that issue | 07:56 |
tgm4883 | Pwen, yea, thats my bad, although i'm not sure why | 07:56 |
yardleydobon | tgm4883: homed in on that one like a laser. know a fix? | 07:56 |
tgm4883 | yardleydobon, yea, there is a channel channel change script that you need to know. It's a workaround, not a fix | 07:57 |
tgm4883 | Pwen, i'll check the packaging in a sec | 07:57 |
tgm4883 | Gibby, so much for bed ;) | 07:57 |
tgm4883 | yardleydobon, http://www.mythtv.org/wiki/Ivtv_Channel_changer | 07:58 |
Zinn | [www.mythtv.org] Ivtv Channel changer - MythTV | 07:58 |
tgm4883 | you need to use that to change channels | 07:59 |
Pwen | tgm4883: also, is it just because I am running trunk that sometimes this happens? | 08:00 |
Pwen | ii mythvideo 0.24.0~trunk25854-0ubuntu0~mythbun A generic video player frontend module for MythTV | 08:00 |
Pwen | ii mythtv-backend 0.24.0~trunk25893-0ubuntu0~mythbun A personal video recorder application (server) | 08:00 |
tgm4883 | Pwen, you mean different versions? | 08:00 |
Pwen | (different trunk versions, even tho everything is "up to date") | 08:00 |
Pwen | yeah | 08:00 |
tgm4883 | yea pretty much. Upstream will do a commit or move something around that breaks a build. Takes us a day or so usually to fix it | 08:01 |
Pwen | Im going to blame that situation on my LCD working every other update as well in that case ;-P | 08:02 |
Pwen | tgm4883: sorry, last question: ETA for mythtv-common file conflict fix? | 08:03 |
tgm4883 | Pwen, sec, looking at it now | 08:03 |
tgm4883 | IIRC, if you do the update twice it works | 08:03 |
Pwen | nah Ive tried a few times | 08:04 |
tgm4883 | wait, you had the avenard repos didn't you | 08:05 |
yardleydobon | tgm4883: thanks! | 08:05 |
tgm4883 | yardleydobon, yw | 08:05 |
Pwen | tgm4883: I *did*, but I dont think I do anymore since 9.10/0.24 | 08:06 |
Pwen | err 10.04 | 08:06 |
tgm4883 | yea you do, your mythtv database package is from there | 08:06 |
tgm4883 | you have a few packages left over anyway | 08:06 |
tgm4883 | mythtv-database 2:0.24.0~trunk-24111-0ubuntu1 | 08:07 |
tgm4883 | I thought that version number looked funny | 08:07 |
Pwen | oh | 08:07 |
Pwen | righto. should I fix that somehow? | 08:07 |
tgm4883 | hmm | 08:07 |
tgm4883 | IIRC, his website has info on how to go back to mythbuntu packages. | 08:08 |
tgm4883 | i'd have to check that | 08:08 |
Pwen | hmmm ok Im having a look | 08:12 |
tgm4883 | Pwen, I can't find it. I would think it is probably a remove then reinstall of the mythtv-database package | 08:12 |
tgm4883 | i'd also have a look and see what other packages you have laying around from his repo | 08:12 |
Pwen | if I remove mythtv-database, it will remove the mythtv metapackage and everything else along with it | 08:13 |
Pwen | if I do that, I can reinstall and all my config/databases will still exist, right? | 08:13 |
tgm4883 | all of your configs should be fine. Thats kept in the db and it's not removing mysql | 08:14 |
tgm4883 | and I don't think it would touch config.xml | 08:14 |
tgm4883 | of course, you could probably also fire up synaptic and force a specific version | 08:14 |
tgm4883 | which is probably the better choice | 08:14 |
Pwen | I did not know you could do that | 08:15 |
Pwen | so I have the options of | 08:17 |
Pwen | 0.24.0~trunk25893 | 08:17 |
Pwen | 0.23.0+fixes24158 | 08:17 |
Pwen | 0.24.0~trunk24111 | 08:17 |
Pwen | the last is what I currently have | 08:18 |
Pwen | I guess the first is the 0.24 of mythbuntu, what you guys do | 08:18 |
Pwen | and 0.23 is obviously the stable release | 08:18 |
Pwen | there are lots of packages in here that are wrong | 08:19 |
Pwen | going to force version them all | 08:19 |
* Pwen crosses fingers | 08:20 | |
Pwen | the F1 quali is on in a few hours, and I have a dinner date, hope stuff doesnt break ;-P | 08:20 |
Pwen | haha | 08:20 |
Pwen | ok, no more 24111 packages | 08:26 |
Pwen | rebooting time | 08:26 |
Gibby | http://www.news.com.au/breaking-news/man-severs-privates-at-airport-to-avoid-extradition-reports/story-e6frfku0-1225911173354 | 08:33 |
Zinn | [www.news.com.au] Man severs privates at airport to avoid extradition - reports | News.com.au | 08:33 |
Pwen | ok so now I have the correct backend version | 08:33 |
Pwen | it does start up properly | 08:33 |
Pwen | I can watch live tv | 08:33 |
Pwen | but all my plugins are the wrong version | 08:33 |
Pwen | presumably that will be fixed in a few days | 08:33 |
Pwen | why cut your man jewels, and not something else? | 08:34 |
Pwen | god what a crazy man | 08:34 |
Gibby | i know lol | 08:39 |
Pwen | ok well all my stuff is at the proper latest versions now | 08:50 |
Pwen | ^_^ | 08:50 |
Pwen | thanks for your help guys | 08:50 |
=== hpeter_ is now known as hpeter | ||
=== mvetketel is now known as bogus- | ||
Twiggy2cents | Matt, You awake? | 15:41 |
klucas | Hi All, anyone else have all their videos show up in the 'Watch Recordings' menu after they went from 9.xx to 10.xx? | 22:09 |
tgm4883 | nope | 22:10 |
tgm4883 | klucas, you mean everything from mythvideo? | 22:10 |
klucas | Humm, in 9.xx only the items that I'd recorded off the antena were in there now all the videos show up there. | 22:10 |
klucas | tgm4883: yes. mythvideo has apparently taken over :) | 22:11 |
tgm4883 | klucas, what is the output of 'dpkg -l mythtv-frontend mythvideo' | 22:11 |
klucas | on the frontend or backend? | 22:11 |
tgm4883 | both | 22:11 |
klucas | one sec | 22:12 |
tgm4883 | I just need to last two lines of each | 22:12 |
tgm4883 | the part that shows the version number | 22:12 |
klucas | tgm4883: cool one sec | 22:12 |
klucas | 0.23.0+fixes24104-0ubuntu2 on the frontend / slave backend for both mythtv-frontend and mythvideo | 22:14 |
tgm4883 | hmm | 22:14 |
tgm4883 | sec | 22:14 |
klucas | tgm4883: let me just ssh over to the master backend and try it there. | 22:14 |
tgm4883 | ok | 22:14 |
klucas | tgm4883: the master backend is running opensuse and doesn't seem to have a provider for dpkg installed give me a sec I'm trying to find something that'll get you the version # | 22:16 |
tgm4883 | klucas, rpm -qa packagename | 22:17 |
tgm4883 | probably ^ | 22:17 |
klucas | tgm4883: :) ya or yast-->versions :) it's 0.23-2 64 bit | 22:19 |
tgm4883 | hmm | 22:19 |
klucas | tgm4883: I think it may have something to do with the directories it's looking for it's files in. | 22:19 |
tgm4883 | 0.23-2? | 22:19 |
tgm4883 | klucas, could be, although that would all be handled by the backend | 22:20 |
tgm4883 | not by the frontend | 22:20 |
tgm4883 | go into watch recordings, and hit M and see if changing your group filter fixes it | 22:20 |
klucas | I've got the myth (myth/videos, myth/default, myth/livetv, etc) mounted as an NFS share on the frontend machine. | 22:20 |
klucas | tgm4883: okay let me see what's in there. | 22:21 |
klucas | tgm4883: I've not used filters in here before so please bear with me. I've got 5 options in there: 'All Porgrams 11877 items', ----Groups---, Default 11877 items, ----Categories----, and Miro 11877 items. | 22:23 |
klucas | tgm4883: not sure what do do in here | 22:23 |
tgm4883 | hold fsck | 22:24 |
tgm4883 | 11877 is a lot | 22:24 |
tgm4883 | ok, on your Ubuntu frontend, what is the output of | 22:24 |
tgm4883 | dpkg -l mythtv-backend | 22:25 |
klucas | tgm4883: well it does take a bit to load which is why i'm after getting them out of the recordings menu :) | 22:25 |
klucas | ii mythtv-backend 0.23.0+fixes24158-0ubuntu2 A personal video recorder application (server) | 22:25 |
tgm4883 | klucas, ok, so we are getting somewhere | 22:26 |
tgm4883 | so your Ubuntu frontend has a backend as well, probably going to be an issue with storage groups | 22:26 |
tgm4883 | on your ubuntu frontend, go into mythtv-setup and look at the videos storage group. What are the directories listed? | 22:27 |
klucas | tgm4883: yes the tuner card is in the 'front-end' machine so I've got it configured as a slave backend as well | 22:27 |
klucas | tgm4883: default is /media/myth/default | 22:29 |
klucas | tgm4883: the others are /media/myth/<whateverelse> livetv, music, db_backups, etc. | 22:30 |
klucas | tgm4883 /media/myth is a mounted NFS share from the server | 22:30 |
tgm4883 | klucas, ok | 22:31 |
tgm4883 | so what is the output of | 22:31 |
tgm4883 | or rather | 22:31 |
tgm4883 | do you see your videos when you do | 22:31 |
tgm4883 | ls /media/myth/default | 22:31 |
klucas | tgm4883 I see several files with names like 9999_20100822060342.avi and 9999_20100822060342.avi.png (presumably for the screenshots) but not all the videos that are under /media/myth/videos | 22:33 |
tgm4883 | hmm | 22:35 |
klucas | tgm4883: Indeed :) | 22:35 |
tgm4883 | klucas, that looks like a mirobridge file | 22:36 |
klucas | tgm4883: googling microbridge.... | 22:37 |
tgm4883 | mirobridge, it's your shows from miro | 22:37 |
klucas | mirobridge: huh, I setup miro when I installed 10.xx of mythbuntu but havne't played around with it yet. | 22:38 |
tgm4883 | hmm ok | 22:39 |
klucas | tgm4883: interesting | 22:39 |
tgm4883 | can you play that file then and see if it is a show or a video? | 22:39 |
klucas | tgm4883: Give me a few minutes to fire up the mythfrontend. (there's another issue where the front end tries to mount all the partitions on the backend machine and it has to wait until each times out before I get the interface | 22:39 |
tgm4883 | klucas, whats the output of ls -R /media/myth/default | wc -l | 22:40 |
klucas | tgm4883: "no kidding failed to mount /dev/sde!" | 22:40 |
klucas | tgm4883: one sec | 22:40 |
klucas | tmg4883: 15 | 22:41 |
tgm4883 | klucas, ok, can you do that on your backend as well? | 22:42 |
klucas | tgm4883: sure one sec | 22:42 |
klucas | tgm4883: same 15 | 22:42 |
klucas | tgm4883: which I think makes sense as they're looking at the same dir | 22:43 |
tgm4883 | yea it does, just wanted to make sure there weren't any subdirs over there | 22:43 |
klucas | tgm4883: cool cool :) | 22:43 |
tgm4883 | so it is definitly something with the mythtv config | 22:43 |
klucas | tgm4883: Ya, specifically with the Miro config section if my hunch is correct | 22:44 |
klucas | tgm4883: well your hunch :) | 22:44 |
klucas | tgm4883: it would make sense, you said they look like miro files and that wasn't in 9.xx which didn't have the issue | 22:45 |
tgm4883 | klucas, can you play that file outside of mythtv? | 22:45 |
tgm4883 | 9999_20100822060342.avi | 22:45 |
klucas | tgm4883: one sec I'm still waiting for the mount points to time out | 22:45 |
tgm4883 | klucas, that issue sounds like you have a flash media reader in your frontend (ie a 21-in-1 reader) | 22:46 |
tgm4883 | and that you have enabled watch inserted media | 22:46 |
tgm4883 | klucas, out of curiosity, do you have a frontend on your suse box? | 22:47 |
klucas | tgm4883: I do. | 22:47 |
tgm4883 | does your frontend over there show the same number of recordings? | 22:47 |
klucas | tgm4883: vlc doesn't like the 9999_201008...avi file at least not through ssh -X | 22:48 |
tgm4883 | 11877 | 22:48 |
klucas | tgm4883: um hang on I'll check. | 22:48 |
tgm4883 | I thought the dir was an nfs mount? can't you just open up thunar, browse to that dir and play it? | 22:48 |
tgm4883 | or open up vlc, and play the file? | 22:48 |
tgm4883 | not over ssh | 22:48 |
klucas | tgm4883: yep the frontend on the suse box has the same number 11877 | 22:49 |
klucas | tgm4883: yes but the front end runs headless | 22:50 |
tgm4883 | the ubuntu one/ | 22:50 |
klucas | tgm4883: I'm on a laptop talking to you ssh'ed into the mythbox and the master backend with a vnc console open to the frontend as well | 22:51 |
klucas | tgm4883: Okay I've got the frontend started I'm going to try playing one of those files in the 'watch recordings' menu | 22:52 |
tgm4883 | ok | 22:52 |
klucas | tgm4883: nope they don't play with the mythfrontend | 22:53 |
tgm4883 | klucas, can you check the size of one of them? | 22:53 |
klucas | tgm4883: sure ... interesting. Looks like they're symlinks to the corrisponding /media/myth/video files | 22:54 |
klucas | tgm4883: for example, lrwxrwxrwx 1 klucas klucas 68 2010-08-22 06:03 9999_20100822060403.avi -> /home/klucas/myth/videos/Star_Trek/S02E02 Who Mourns for Adonais.avi | 22:54 |
klucas | tgm4883: odd that they don't play. | 22:55 |
tgm4883 | klucas, ok, now we are getting somewhere ;) | 22:55 |
klucas | tgm4883: let me try plaing that file in mythvideo | 22:55 |
tgm4883 | now, was /home/klucas/myth/videos/Star_Trek/S02E02 Who Mourns for Adonais.avi a rip, or a recording? | 22:55 |
klucas | tgm4883: interesting, doesn't play in mythvideo either. :\ It's a rip | 22:56 |
tgm4883 | ok sec | 22:57 |
klucas | k | 22:57 |
klucas | tgm4883: brb | 22:59 |
klucas | tgm4883: Okay a bit more info here. The video does play on the suse box via mythfront end thorugh the 'watch videos' interface but not throught the 'watch recordings' inteface. Additionally, the symlinks on the suse box indicate that the target of the link is missing. | 23:02 |
klucas | tgm4883: the link is looking for the file in /home/klucas/myth/videos/Star_Trek rather than /media/myth/videos/Star_Trek. | 23:03 |
klucas | tgm4883: /home/klucas/myth is the place I had originally mounted the NFS share when I installed 10.xx | 23:03 |
klucas | tgm4883: on the front end | 23:04 |
klucas | tgm4883: which suggests that somehow it got stuck in a config file somewhere | 23:04 |
klucas | tgm4883: with that dir for the link. | 23:04 |
klucas | tgm4883: question is where and which one. :)_ | 23:04 |
klucas | tgm4883: and perhaps more over, why is it looking for it in the recordings in the first place? | 23:05 |
tgm4883 | ok | 23:05 |
tgm4883 | klucas, ok, so ls -R /media/myth/default | wc -l returns 15 | 23:05 |
tgm4883 | klucas, does 'ls /media/myth/default' return more than 15? | 23:06 |
klucas | tgm4883: on both frontend/slave backend and master backend | 23:06 |
klucas | tgm4883: checking | 23:06 |
klucas | 15 files are returned on both | 23:07 |
tgm4883 | klucas, any of them symlinks? | 23:07 |
klucas | or more specifically filenames :) yes all of the .avi files are simlinks. The colour coding on the susebox suggests that they're broken | 23:08 |
tgm4883 | hmm | 23:08 |
klucas | the ubuntu box doesn't think they're broken | 23:08 |
klucas | at least as near as I can tell. | 23:09 |
tgm4883 | ok, on your suse backend, in mythtv setup, what do you have listed for the default SG? | 23:09 |
klucas | tgm4883: /media/myth/default but I'll double check | 23:09 |
tgm4883 | yea double check that it is the same as on the ubuntu frontend | 23:10 |
klucas | tgm4883: yes /media/myth/default I'll double check the frontend | 23:11 |
tgm4883 | klucas, ok and in watch recordings, you actually have 11000+ items listed? (not 15) | 23:12 |
klucas | tgm4883: yes /media/myth/default is set on the front end. | 23:13 |
klucas | tgm4883: let me fire up the front end again. I've disabled the monitor external media so we'll see if this is faster ;) If nothing else you'll have helped me on that. | 23:14 |
klucas | tgm4883: nicely done on the disable monitoring of external inputs :) | 23:16 |
klucas | tgm4883: in answer to your question... | 23:16 |
klucas | tgm4883: I can't confirm that there are 11 thousand some odd files but there are certainally more than 15 | 23:17 |
tgm4883 | ok | 23:17 |
klucas | brb | 23:17 |
klucas | tgm4883: sorry 'bout that duity called | 23:22 |
tgm4883 | klucas, odd. Setup looks to be correct, directories look to be correct. Maybe an issue with the database | 23:24 |
klucas | tgm4883: the only thing I can think of is to remove miro and see if it continues to be an issue | 23:26 |
klucas | then reenable miro and look at that | 23:27 |
tgm4883 | klucas, i'm going to send you to #mythtv-users and ask if there is an updated script to check recordings against what is in the database since myth.rebuilddatabase.pl and myth.find_orphans.pl have been deprecated | 23:27 |
tgm4883 | klucas, doesn't look to be a mirobridge issue | 23:27 |
tgm4883 | but something made that symlink, and IDK where the other 11000+ entries are coming from | 23:27 |
tgm4883 | klucas, is it safe to assume you don't have 11000 videos? | 23:27 |
klucas | tgm4883: I didn't think so but it may be up there | 23:28 |
klucas | I have been using handbrake a lot to convert my dvd collection | 23:28 |
tgm4883 | as have I, i only have 111 though | 23:28 |
tgm4883 | 11000 is seriously alot | 23:28 |
klucas | tgm4883: ya no kidding :) | 23:29 |
klucas | tgm4883: thanks for your help | 23:29 |
klucas | tgm4883: whoever says open source programs don't have support is full of it!\ | 23:30 |
tgm4883 | klucas, out of curiosity | 23:32 |
tgm4883 | ls -R /media/myth/videos | wc -l returns 1 | 23:32 |
tgm4883 | err | 23:32 |
tgm4883 | ls -R /media/myth/videos | wc -l | 23:32 |
klucas | tgm4883: looks like there aren't any updates ot those scripts I see in #mythtv-users a good effort though | 23:33 |
tgm4883 | yep, looks like it's going to be something for 0.24 | 23:34 |
klucas | tgm4883: ya not a prob | 23:34 |
klucas | tgm4883: it's not like it's a huge deal to find the recordings I'm after I just found it odd. | 23:34 |
tgm4883 | klucas, how many recorded shows should you have? | 23:34 |
klucas | tgm4883: well none now that I've gone and deleted the old recordings. | 23:35 |
klucas | tgm4883: since In instaled 10.xx my tuner card hasn't been playing nicely. | 23:35 |
tgm4883 | klucas, ok, so you should have zero shows | 23:35 |
tgm4883 | hmm, we might be able to blow away the rest of the recorded shows then | 23:35 |
tgm4883 | "recorded" shows | 23:35 |
klucas | tgm4883: I've got it now so that it'll show live tv so I'm waiting a day to see if it records the shows in the next daily cycle | 23:35 |
tgm4883 | the 11,000+ number | 23:35 |
tgm4883 | ok | 23:36 |
klucas | tgm4883: ya I don't really fancy sitting here blasting through all the recorded entries deleting them one by one | 23:37 |
klucas | tgm4883: after the upgrade it kept creating enteries for the recordings it was susposed to have made but when i'd try to play them back it would say that it couldn't find the file to play | 23:38 |
klucas | tgm4883: I'd been waiting for a chance to check this out and when I did the first thing I tried was playing live TV and when that failed I figured that was the source of the trouble | 23:38 |
tgm4883 | klucas, ok, we'll need to run an SQL query on the db. Unless you are pretty good with SQL give me a minute to find the query | 23:39 |
tgm4883 | klucas, you don't happen to have phpmyadmin installed on your backend do you? | 23:40 |
klucas | tgm4883: one sec I'm monitoring mythtv-users. Let me fire up the mysql client to the backend | 23:40 |
klucas | tgm4883: I don't typically I use webmin to deal with mysql | 23:41 |
tgm4883 | ok | 23:41 |
tgm4883 | lets see if wagnerrp has a better solution, otherwise you can see if you can truncate that table | 23:41 |
klucas | I can send through sql via that interface | 23:42 |
tgm4883 | klucas, ok, so try sphery's suggestion, if they are still listed after that, then make a python script and run wagnerrp's | 23:46 |
klucas | sounds good I'll give it a go | 23:46 |
klucas | thanks tgm4883 I hope I haven't been the typical clueless user | 23:53 |
tgm4883 | nope, your issue is strange | 23:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!