myth// .. no playback from backend
#1
I have XBMC running on 192.168.14 and Myth backend on 192.168.1.5

i added myth as a source in video as myth://mythtv:[email protected]

i can get the guide and i can get the channels list when i go into live channels, but when i press any of the channels to play live, nothing happens.

here's the log from xbmc:
Code:
15:57:27 T:2779700112 M:366764032   DEBUG: Process - MythTV event SIGNAL
15:57:27 T:2779700112 M:366764032   DEBUG: Process - MythTV event SIGNAL
15:57:28 T:2779700112 M:366764032   DEBUG: Process - MythTV event SIGNAL
15:57:28 T:2779700112 M:366764032   DEBUG: Process - MythTV event LIVETV_CHAIN UPDATE live-mediabox-2009-02-06T15:57:24
15:57:29 T:2779700112 M:366764032   DEBUG: Process - MythTV event RECORDING_LIST_CHANGE
15:57:29 T:2779700112 M:366764032   DEBUG: Process - MythTV event LIVETV_CHAIN UPDATE live-mediabox-2009-02-06T15:57:24
15:57:29 T:2779700112 M:366764032   DEBUG: Process - MythTV event LIVETV_CHAIN UPDATE live-mediabox-2009-02-06T15:57:24
15:57:32 T:2788092816 M:366764032   ERROR: SetupLiveTV - unable to spawn live tv: Failed to setup livetv.
15:57:32 T:2788092816 M:366764032   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/channels/18.ts]
15:57:32 T:2788092816 M:366764032  NOTICE: CDVDPlayer::OnExit()
15:57:32 T:2788092816 M:366764032  NOTICE: CDVDPlayer::OnExit() deleting input stream
15:57:32 T:2788092816 M:366764032   DEBUG: Playback was stopped
15:57:32 T:2788092816 M:366764032   DEBUG: staticThread, deleting thread graphic context
15:57:32 T:2788092816 M:366764032   DEBUG: Thread 2788092816 terminating
15:57:32 T:3069622064 M:366764032  NOTICE: CDVDPlayer::CloseFile()
15:57:32 T:3069622064 M:366764032 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:57:32 T:3069622064 M:366764032  NOTICE: DVDPlayer: waiting for threads to exit
15:57:32 T:3069622064 M:366764032  NOTICE: DVDPlayer: finished waiting
15:57:32 T:3069622064 M:366764032   ERROR: Playlist Player: skipping unplayable item: 0, path [myth://mythtv:[email protected]/channels/18.ts]
15:57:32 T:3069622064 M:366764032   DEBUG: Playlist Player: no more playable items... aborting playback
15:57:32 T:3069622064 M:365244416   DEBUG: Load DialogBack.png: 9.9ms (bundled)
15:57:32 T:3069622064 M:364212224   DEBUG: Load DialogFront.png: 9.9ms (bundled)
15:57:32 T:3069622064 M:364212224   DEBUG: Load separator.png: 0.2ms (bundled)
15:57:32 T:3069622064 M:364212224   DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
15:57:32 T:3069622064 M:364212224   DEBUG: Progress dialog
15:57:32 T:3069622064 M:364212224   DEBUG: -------------------
15:57:32 T:2796485520 M:366247936   DEBUG: staticThread, deleting thread object
15:57:32 T:2796485520 M:366247936   DEBUG: staticThread, deleting thread graphic context
15:57:32 T:2796485520 M:366247936   DEBUG: Thread 2796485520 terminating
15:57:33 T:2779700112 M:366272512   DEBUG: Process - MythTV event SCHEDULE_CHANGE
15:57:37 T:3069622064 M:366272512    INFO: CheckIdle - Closing idle connection to mythtv backend 192.168.1.5
15:57:37 T:2779700112 M:366272512   DEBUG: staticThread, deleting thread graphic context
15:57:37 T:2779700112 M:366272512   DEBUG: Thread 2779700112 terminating

and here is the log from myth backend:

Code:
2009-02-06 16:30:46.723 adding: mediabox as a client (events: 0)
2009-02-06 16:30:46.727 TVRec(1): Changing from None to WatchingLiveTV
2009-02-06 16:30:46.745 TVRec(1): HW Tuner: 1->1
2009-02-06 16:30:47.974 DVBSM(1), Warning: Can not count Uncorrected Blocks
            eno: Function not implemented (38)
2009-02-06 16:30:48.284 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-02-06 16:30:49.281 Finished recording WORLD BUSINESS TODAY: channel 4592
2009-02-06 16:30:50.332 Finished recording WORLD BUSINESS TODAY: channel 4592
2009-02-06 16:30:50.405 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-02-06 16:30:50.648 Using runtime prefix = /usr
2009-02-06 16:30:50.651 Empty LocalHostName.
2009-02-06 16:30:50.662 Using localhost value of MyHomeServer
2009-02-06 16:30:50.684 New DB connection, total: 1
2009-02-06 16:30:50.699 Connected to database 'mythconverg' at host: localhost
2009-02-06 16:30:50.706 Closing DB connection named 'DBManager0'
2009-02-06 16:30:50.707 Connected to database 'mythconverg' at host: localhost
2009-02-06 16:30:50.710 New DB connection, total: 2
2009-02-06 16:30:50.713 Connected to database 'mythconverg' at host: localhost
2009-02-06 16:30:50.717 Current Schema Version: 1214
2009-02-06 16:30:50.732 Preview Error: Previewer file '/var/lib/mythtv/recordings/4592_20090206163046.mpg' is not valid.
2009-02-06 16:30:50.738 Preview Error: Run() file not local: '/var/lib/mythtv/recordings/4592_20090206163046.mpg'
2009-02-06 16:30:50.752 Preview Error: Preview process not ok.
            fileinfo(/var/lib/mythtv/recordings/4592_20090206163046.mpg.png) exists: 0 readable: 0 size: 0
2009-02-06 16:31:03.801 Reschedule requested for id -1.
2009-02-06 16:31:03.865 Scheduled 0 items in 0.1 = 0.02 match + 0.05 place
2009-02-06 16:31:18.924 Started PESPacket, but !payloadStart()
2009-02-06 16:32:31.081 Expiring 0 MBytes for 4592 @ Fri Feb 6 16:00:00 2009 => WORLD BUSINESS TODAY

i read through this thread here http://forum.xbmc.org/showthread.php?tid...e+recorder but no luck

any thoughts here ?!
Reply
#2
From the looks of it, it seems this is your problem:

Code:
15:57:32 T:2788092816 M:366764032   ERROR: SetupLiveTV - unable to spawn live tv: Failed to setup livetv.
15:57:32 T:2788092816 M:366764032   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/channels/18.ts]

My guess is you need to figure out why the TS stream could not be started on the Myth box. Try watching livetv directly off the myth box. Then check to see if the proper credentials are setup on the myth channel folder, could be a simple permissions problem.
Reply
#3
greco Wrote:From the looks of it, it seems this is your problem:

Code:
15:57:32 T:2788092816 M:366764032   ERROR: SetupLiveTV - unable to spawn live tv: Failed to setup livetv.
15:57:32 T:2788092816 M:366764032   ERROR: CDVDPlayer::OpenInputStream - error opening [myth://mythtv:[email protected]/channels/18.ts]

My guess is you need to figure out why the TS stream could not be started on the Myth box. Try watching livetv directly off the myth box. Then check to see if the proper credentials are setup on the myth channel folder, could be a simple permissions problem.

live tv works fine on the myth machine using the myth frontend
Reply
#4
I think you need to check out the mysql.txt file and get the password Myth supplied you when you setup the back end. I had the same issue with mine.

Dave
Reply
#5
rodercot Wrote:I think you need to check out the mysql.txt file and get the password Myth supplied you when you setup the back end. I had the same issue with mine.

Dave

this is what i have in sql.txt

Code:
DBHostName=localhost

# By default, Myth tries to ping the DB host to see if it exists.
# If your DB host or network doesn't accept pings, set this to no:
#
DBHostPing=no

DBUserName=mythtv
DBPassword=xxxxxx
DBName=mythconverg
DBType=QMYSQL3

the rest is commented out
Reply
#6
Do you have iptables or firewall settings in place? Make sure you have the proper UDP/TCP ports enabled...
Reply
#7
greco Wrote:Do you have iptables or firewall settings in place? Make sure you have the proper UDP/TCP ports enabled...

no firewall or anything on either boxes (i didnt setup any)

the xbmc is built from ubuntu 8.10 mini (and xbmc svn) and the myth is built on normal ubuntu 8.10 desktop (myth also from svn - but myth is working ok on its own box - both front & back ends)

(unless any of these have any hidden settings that im not aware off - im quite new at this)

note that when i go into guide, i can retrieve the guide from my myth machine (i.e i can access the db from the xbmc box and read from it)
Reply
#8
to test mysql connection from xbmc machine

Code:
mysql -p -h ip_of_myth_backend

it should ask for password which is here DBPassword=xxxxxx

and you should see something like that

Code:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 818
Server version: 5.0.67-0ubuntu6 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>



if you can't connect then you found your problem
Reply
#9
If the above post is true, then you need to grant the mythtv user access from another workstation. To do this log into mysql as root on the mythtv box and run the following in mysql:

Code:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 818
Server version: 5.0.67-0ubuntu6 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on mythconverg.* to [email protected] identified by 'xxxxxx';
mysql> flush privileges;
Reply
#10
greco Wrote:If the above post is true, then you need to grant the mythtv user access from another workstation. To do this log into mysql as root on the mythtv box and run the following in mysql:

Code:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 818
Server version: 5.0.67-0ubuntu6 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> grant all on mythconverg.* to [email protected] identified by 'xxxxxx';
mysql> flush privileges;

i did try from the xbmc box and as root and could not login to the db, but when i did:
Code:
sudo mysql -u mythtv -p -h 192.168.1.5

i could log in
Reply
#11
What's the IP address or hostname configured as in the Mythbackend configuration?

The "IP address for mythtv" setting from http://www.mythtv.org/wiki/User_Manual:D...kend_Setup
Reply
#12
dteirney Wrote:what's the ip address or hostname configured as in the mythbackend configuration?

The "ip address for mythtv" setting from http://www.mythtv.org/wiki/user_manual:d...kend_setup

192.168.1.5
Reply
#13
megacrypto Wrote:192.168.1.5

What will it NOT do when you connect with

myth://user:[email protected]

user = mysql username from mysql.txt
pass = pass from mysql.txt.

I also just noticed in your mysql.txt you posted the db is using localhost and you set the ip to 192.168.1.5

I think localhost = 127.0.0.1 does it not?

rgds,

Dave
Reply
#14
well .. im doing a fresh install right now and will let you know how it goes
Reply
#15
did the fresh install and it is all the same.. what does xbmc use to playback the myth stream ?? because when i try to select a player for playing movies from the context menu (from play using), i get DVDPlayer (default) & ExternalPlayer .. but if select ExternalPlayer to playback a movie .. nothing happens

note: im using this minimal install of ubuntu, so not everything is installed by default, and many things i has to be installed on its own... so maybe i need mplayer ?!
Reply

Logout Mark Read Team Forum Stats Members Help
myth// .. no playback from backend0