Opened 12 years ago

Closed 12 years ago

#10883 closed Bug Report - General (Unverified)

mythvideo no longer will stream from backend

Reported by: Steven Adeff <adeffs.mythtv@…> Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: 0.25.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by beirdo)

Jul  5 20:18:33 mythhouse mythfrontend[8449]: E CoreContext lcddevice.cpp:217 (sendToServer) Connection to LCDServer died unexpectedly. Trying to reconnect every 10 seconds...
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:987 (TV) TV: Creating TV object
Jul  5 20:18:33 mythhouse mythfrontend[8449]: N CoreContext mythmainwindow.cpp:2591 (PauseIdleTimer) Resuming idle timer
Jul  5 20:18:33 mythhouse mythfrontend[8449]: N CoreContext mythmainwindow.cpp:2586 (PauseIdleTimer) Suspending idle timer
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:1206 (Init) TV: Created TvPlayWindow.
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from None to WatchingVideo
Jul  5 20:18:33 mythhouse mythfrontend[8449]: E CoreContext remotefile.cpp:84 (openSocket) RemoteFile::openSocket(control socket): Could not connect to server ::1:6543
Jul  5 20:18:33 mythhouse mythfrontend[8449]: E CoreContext fileringbuffer.cpp:343 (OpenFile) FileRingBuf(myth://Videos@[::1]:6543/Movies/Alien (1979).mkv): RingBuffer::RingBuffer(): Failed to open remote file (myth://Videos@[::1]:6543/Movies/Alien (1979).mkv)
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:2451 (HandleStateChange) TV: Main UI disabled.
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:378 (StartTV) TV: Entering main playback loop.
Jul  5 20:18:33 mythhouse mythfrontend[8449]: I CoreContext tv_play.cpp:380 (StartTV) TV: Exiting main playback loop.
Jul  5 20:18:33 mythhouse mythfrontend[8449]: N CoreContext mythmainwindow.cpp:2591 (PauseIdleTimer) Resuming idle timer
Jul  5 20:18:43 mythhouse mythfrontend[8449]: N CoreContext lcddevice.cpp:147 (connectToHost) Starting mythlcdserver
Jul  5 20:18:44 mythhouse mythfrontend[8449]: I CoreContext lcddevice.cpp:167 (connectToHost) Connecting to lcd server: 127.0.0.1:6545 (try 1 of 10)

Change History (17)

comment:1 Changed 12 years ago by beirdo

Description: modified (diff)
Status: newinfoneeded_new

What did you change to precipitate this?

Also, where is the version info that is required on tickets?

comment:2 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

I did not directly change anything, I run, and fairly regularly, update via the mythbuntu builds. Right now it has 20110416.9ba3ece installed and still has the problem.

It was originally noticed to be occurring July 2nd, the cause may have initiated before then but not by many days.

The other two linux frontends in the house do not have this issue, with the same mythtv-setup ip settings.

It was suggested that it could be an IP issue and to run mythtv-setup, which I did but found the settings to be the same as the other two frontends. Oddly, mythtv-setup only comes with the mythbuntu backend package (neither here nor there).

comment:3 Changed 12 years ago by beirdo

Please post the actual version... from mythbackend --version. The ticket says 0.25.1 as the version, but if I'm reading what you said correctly, you are running a build from April 2011, which is definitely not 0.25.1.

comment:4 Changed 12 years ago by Raymond Wagner

Is this a frontend on the same machine as the backend that stores the content?

comment:5 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

ok, a second frontend stopped working as of last night, so now only 1 of the 3 frontends still works.

I ssh'd into my standalone backend and that still seems to play videos fine. I then tried ssh'ing into my fileserver, another headless machine which has myth installed, and that also still is able to play videos.

all are running 20120706.1d41f74 the config.xml for all the machines is the same.

comment:6 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

mythbackend: standalone, backend. via ssh mythvideo plays fine. fileserver: videos are stored here, NFS shared to the backend. via ssh mythvideo plays fine

mythhouse: frontend in the living room. first to stop working. mythmini: ion frontend in bedroom. works fine, both locally and via ssh. mythmini2: ion frontend in bedroom. second to stop working, both locally and via ssh.

all but the backend are currently running mythbuntu build 20120706.1d41f74

I also have a macbook with MythTV installed but have yet to try that.

comment:7 Changed 12 years ago by beirdo

Where is the version output? I specifically asked for the output of mythbackend --version (you can use mythfrontend --version if you like). We don't support mythbuntu builds, we support the code at a given version. I know this is a fine distinction, but there it is.

Also: all machines (frontend and backend) must be running the same version to be supported and working properly.

comment:8 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

@mythhouse:~$ mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : v0.25.1-58-g1d41f74 MythTV Branch : fixes/0.25 Network Protocol : 72 Library API : 0.25.20120506-1 QT Version : 4.7.2 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2

@fileserver:~$ mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : v0.25.1-58-g1d41f74 MythTV Branch : fixes/0.25 Network Protocol : 72 Library API : 0.25.20120506-1 QT Version : 4.6.2 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2

@mythmini:~$ mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : v0.25.1-56-g11d7795 MythTV Branch : fixes/0.25 Network Protocol : 72 Library API : 0.25.20120506-1 QT Version : 4.6.2 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2

@mythmini2:~$ mythfrontend.real --version Please attach all output as a file in bug reports. MythTV Version : v0.25.1-43-g73bc45e MythTV Branch : fixes/0.25 Network Protocol : 72 Library API : 0.25.20120506-1 QT Version : 4.6.2 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2

@mythbackend:~$ mythbackend --version Please attach all output as a file in bug reports. MythTV Version : v0.25.1-56-g11d7795 MythTV Branch : fixes/0.25 Network Protocol : 72 Library API : 0.25.20120506-1 QT Version : 4.6.2 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2

the backend is currently running the scheduler patch, so I haven't updated it further, but this issue started before that, and again, some frontends work, some don't, and nothing beyond updating the builds has changed amongst them.

comment:9 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

the machines that still work look to be using IPv4 to connect (standard 192 address), the ones that are not look to be trying to use IPv6, even if the address is not set.

why videos doesn't work while recordings do is beyond me though.

comment:10 Changed 12 years ago by Raymond Wagner

Could I see the database entry for one of the videos that doesn't work?

SELECT * FROM videometadata WHERE filename LIKE '%Movies/Alien? (1979).mkv';

as well as the storage group definitions?

SELECT * FROM storagegroup WHERE groupname='Videos';

comment:11 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

so that's the frustrating thing, on two linux frontends NONE of them work (and I noticed the same with my Macbook), but on two other linux frontends they all work fine!

the backend is standalone, though if I ssh in and try it works. the two that don't work, if I ssh in, they still don't work.

SELECT * FROM videometadata WHERE filename LIKE '%Alien\ (1979).mkv';

+-------+-------+----------+---------+----------+--------+------+--------+----------+---------------+----------+------+-------------+------------+--------+-----------+--------+---------+-----------+-------------------------+------------------+-----------+---------+--------+---------+-----------+-------------+----------+---------+------------+------------+--------+--------+---------------------+-------------+ | intid | title | subtitle | tagline | director | studio | plot | rating | inetref | collectionref | homepage | year | releasedate | userrating | length | playcount | season | episode | showlevel | filename | hash | coverfile | childid | browse | watched | processed | playcommand | category | trailer | host | screenshot | banner | fanart | insertdate | contenttype | +-------+-------+----------+---------+----------+--------+------+--------+----------+---------------+----------+------+-------------+------------+--------+-----------+--------+---------+-----------+-------------------------+------------------+-----------+---------+--------+---------+-----------+-------------+----------+---------+------------+------------+--------+--------+---------------------+-------------+ | 135 | Alien | | NULL | Unknown | NULL | None | NR | 00000000 | -1 | | 1895 | 0000-00-00 | 0 | 0 | 0 | 0 | 0 | 1 | Movies/Alien? (1979).mkv | 6f6ad0567c7cdf4d | | -1 | 1 | 0 | 1 | NULL | 0 | | fileserver | | | | 2012-06-11 22:08:36 | MOVIE | +-------+-------+----------+---------+----------+--------+------+--------+----------+---------------+----------+------+-------------+------------+--------+-----------+--------+---------+-----------+-------------------------+------------------+-----------+---------+--------+---------+-----------+-------------+----------+---------+------------+------------+--------+--------+---------------------+-------------+ 1 row in set (0.01 sec)

SELECT * FROM storagegroup WHERE groupname='Videos';

+----+-----------+-------------+-------------------------+ | id | groupname | hostname | dirname | +----+-----------+-------------+-------------------------+ | 7 | Videos | mythbackend | /media/storage/1/video/ | | 8 | Videos | mythbackend | /media/storage/2/video/ | | 9 | Videos | mythbackend | /media/storage/3/video/ | | 10 | Videos | mythbackend | /media/storage/4/video/ | | 11 | Videos | mythbackend | /media/storage/5/video/ | +----+-----------+-------------+-------------------------+ 5 rows in set (0.01 sec)

comment:12 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

well one of the working frontends decided to finally stop working and now is looking at 127.0.0.1

out of curiosity I've set both the Master IP to my backend AND the "local" ip to my backend on this frontend. recordings work fine, Watch Videos still is looking at 127.0.0.1

comment:13 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

to add, if I locally mount the storage group directories to the frontend, they will find the files that way and play them.

please let me know what more info is now needed.

comment:14 Changed 12 years ago by Raymond Wagner

Milestone: unknown

comment:15 Changed 12 years ago by Kenni Lund [kenni a kelu dot dk]

Status: infoneeded_newnew

comment:16 Changed 12 years ago by Steven Adeff <adeffs.mythtv@…>

this "fixed itself", eventually, after a few package updates.

comment:17 Changed 12 years ago by Raymond Wagner

Resolution: Unverified
Status: newclosed
Note: See TracTickets for help on using tickets.