[mythtv] [PATCH] DBOX2 Feed Implementation 2005-05-10

Andrew atp4 at optusnet.com.au
Thu May 12 02:05:41 UTC 2005


On Wednesday 11 May 2005 16:36, Levent Guendogdu wrote:
> Andrew wrote:
> >On Wednesday 11 May 2005 04:06, Levent Guendogdu wrote:
> >
> >Just tried this and are having problems adding capture cards, you add
> > capture card, can be dvb or whatever but they dont show up on the list,
> > also any previous cards I had configured have gone from the list aswell.
> >
> >The sql error is:
> >
> >DB Error (simpledbstorage update):
> >Query was:
> >
> >Thats it. I would have thought the database would have had a schema
> > upgrade?
>
> Yes, a schema upgrade is needed for this to work properly. The upgrade
> does not work if your database has already reached a certain version.
> For a quickfix do this in your mysql console:
>
> INSERT INTO profilegroups SET name = 'DBOX2 Input', cardtype = 'DBOX2',
> is_default = 1;"
> ALTER TABLE capturecard ADD COLUMN dbox2_port INT UNSIGNED NOT NULL
> DEFAULT 31338;
> ALTER TABLE capturecard ADD COLUMN dbox2_httpport INT UNSIGNED NOT NULL
> DEFAULT 80;
> ALTER TABLE capturecard ADD COLUMN dbox2_host varchar(32) NULL;
>
> The next patch (released in a couple of minutes) will upgrade the db
> schema to 1083 automatically. If you apply it, please reverse the first
> one.
>
> Keep me posted.
>
> Bye,
>  Levon.
Levon,

I have tried the 2nd patch and had same problem but found that my db schema is 
allready 1083 so applied the above commands to mysql and that got it working. 
Now I do not have a dbox2 but a dreambox which should work the same as they 
both use tuxbox code. Anyway this is what the backend log says. 
 From looking at the log it seems to be talking to the dream but is failing in 
some places. Does this work the same way as Tuxvision? Ive tried Tuxvision 
and it works ok. I will keep digging, maybe there is something differnt on 
the dreambox stopping it from working. I would love to beable to use this as 
my dreambox is going to waste.

2005-05-12 11:41:22.274 DBOX#11: Loading channels...
2005-05-12 11:41:22.274 DBOX#11: Reading channel list from 192.168.0.45:80
2005-05-12 11:41:22.274 DBOX#11: Channel instantiated.
2005-05-12 11:41:22.275 DBOX#11: Channel list not received yet. Will switch to 
channel 3 later...
2005-05-12 11:41:22.286 mythbackend version: 0.18.20050504-1 www.mythtv.org
2005-05-12 11:41:22.286 Enabled verbose msgs : important general libav channel 
record
2005-05-12 11:41:22.326 DBOX#11: Reading channel list succeeded.
2005-05-12 11:41:22.532 DBOX#11: Read 418 channels.
2005-05-12 11:41:22.532 DBOXEPG#11: Initing.
2005-05-12 11:41:22.532 DBOX#11: Changing to 3.
2005-05-12 11:41:22.533 DBOXEPG#11: Starting Thread....
2005-05-12 11:41:22.534 DBOX#11: Changing to 3 failed. Channel not found!
2005-05-12 11:41:22.536 DBOX#11: Trying default channel 233
2005-05-12 11:41:22.536 DBOX#11: Changing to 233.
2005-05-12 11:41:22.538 DBOX#11: Channel ID for 233 is 26931.
2005-05-12 11:41:22.539 DBOX#11: Changing channel on 192.168.0.45:80 to 
channel id 26931: /control/zapto?26931
2005-05-12 11:41:22.539 DBOXEPG#11: Got EPG for old channel. Ignoring
2005-05-12 11:41:22.545 DBOX#11: Changing channel failed: +ok.
2005-05-12 11:41:23.295 Connecting to master server: 192.168.0.20:6543
2005-05-12 11:41:23.297 Connected successfully

And then when going into Live TV

2005-05-12 12:00:27.675 Using profile 'Live TV' to record
2005-05-12 12:00:27.675 TVRec::SetupRecorder() Initializing DBOX2 on Host: 
192.168.0.45, Streaming-Port: 31338, Http-Port: 80
2005-05-12 12:00:27.676 DBOX#11: Instantiating recorder.
2005-05-12 12:00:27.676 DBOX#11: Recorder now online. Deactivating EPG scan
2005-05-12 12:00:27.676 DBOX#11: Channel instantiated.
2005-05-12 12:00:27.676 DBOX#11: Channel destructed.
2005-05-12 12:00:27.679 DBOX#11: Channel instantiated.
2005-05-12 12:00:27.679 DBOX#11: Channel destructed.
2005-05-12 12:00:27.679 StartRecording
2005-05-12 12:00:27.679 DBOX#11: Initializing Host: 192.168.0.45, 
Streaming-Port: 31338, Http-Port: 80
2005-05-12 12:00:27.680 DBOX#11: Retrieving PIDs from 192.168.0.45:80...
2005-05-12 12:00:27.689 DBOX#11: Retrieving PIDs succeeded. Parsing...
2005-05-12 12:00:27.690 DBOX#11: Warning. Got 0 PID!!!.
2005-05-12 12:00:27.690 DBOX#11: No usable PIDS found. Cannot continue.
2005-05-12 12:00:27.690 DBOX#11: Switching to last channel 233.
2005-05-12 12:00:27.690 DBOX#11: Changing to 233.
2005-05-12 12:00:27.693 DBOX#11: Channel ID for 233 is 26931.
2005-05-12 12:00:27.693 DBOX#11: Channel changing. Closing current stream...
2005-05-12 12:00:27.693 DBOX#11: Changing channel on 192.168.0.45:80 to 
channel id 26931: /control/zapto?26931
2005-05-12 12:00:27.698 DBOX#11: Changing channel failed: +ok.
2005-05-12 12:00:28.002 DBOX#11: Waiting for request to finish... 
         ( ABOVE ERROR REPEATED 15 TIMES )
2005-05-12 12:00:42.731 Couldn't read data from the capture card in 15 
seconds. Stopping.
2005-05-12 12:00:42.762 Changing from WatchingLiveTV to None
2005-05-12 12:00:42.766 DBOX#11: Recorder now offline. Reactivating EPG scan
2005-05-12 12:00:42.771 DBOX#11: Changing to 233.
2005-05-12 12:00:42.774 DBOX#11: Channel ID for 233 is 26931.
2005-05-12 12:00:42.774 DBOX#11: Channel changing. Closing current stream...
2005-05-12 12:00:42.774 DBOX#11: Changing channel on 192.168.0.45:80 to 
channel id 26931: /control/zapto?26931
2005-05-12 12:00:42.774 DBOX#11: Shutting down recorder.
2005-05-12 12:00:42.774 DBOX#11: Freeing buffers...
2005-05-12 12:00:42.774 DBOX#11: Done.
2005-05-12 12:00:42.782 DBOX#11: Changing channel failed: +ok.


More information about the mythtv-dev mailing list