sqlite3 editing database me-tv.db

Asked by William Becker

Hallo,
please be patient if this is not the right plase for my question.
I try to add something to the recording schedule "by shell" comand.
I add a line to "scheduled_recording" with all the parameters and add 1 to the counter "sqlite_sequence / scheduled_recording"
Everything looks nice, if I reread the database.

But ME-TV doesn't start the recording.

The reason is, I want to add recordings by "One-Click" in "TV-Browser" , a very nice program. It can execute shell commands however it is neede, with all the data for "scheduled_recording" table as parameters.

Is it needed to restart Me-TV to reread the database?
I yes : How can I start ME-TV minimized to tray?

Thanks a lot,

William

Question information

Language:
English Edit question
Status:
Answered
For:
Me TV Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Frédéric Côté (frederic-cote) said :
#1

Hi William,

Me-tv have a copy of the scheduled recording table in memory so it don't
have to read the database every minute. Each time we modify something
related to the scheduled recording in me-tv, it write the modification to
the database. So you have to restart me-tv when you manually change the
database.

A solution to this could be to use the me-tv-http deamon (small python
server to drive me-tv via web interface). You can have it by downloading
the latest source code.

For starting me-tv minimize, if you use the version 1.4, you can start the
server only ("me-tv-server" from command line). The new version use a
client/server architecture so the client can run on an other computer.

Cheers,
Frederic

On Mon, Oct 1, 2012 at 3:50 AM, William Becker <
<email address hidden>> wrote:

> New question #210055 on Me TV:
> https://answers.launchpad.net/me-tv/+question/210055
>
> Hallo,
> please be patient if this is not the right plase for my question.
> I try to add something to the recording schedule "by shell" comand.
> I add a line to "scheduled_recording" with all the parameters and add 1 to
> the counter "sqlite_sequence / scheduled_recording"
> Everything looks nice, if I reread the database.
>
> But ME-TV doesn't start the recording.
>
> The reason is, I want to add recordings by "One-Click" in "TV-Browser" , a
> very nice program. It can execute shell commands however it is neede, with
> all the data for "scheduled_recording" table as parameters.
>
> Is it needed to restart Me-TV to reread the database?
> I yes : How can I start ME-TV minimized to tray?
>
> Thanks a lot,
>
> William
>
> --
> You received this question notification because you are an answer
> contact for Me TV.
>

--
"In a world without walls, who really needs Windows"
"Nothing is foolproof because fools are so ingenious"

Can you help with this problem?

Provide an answer of your own, or ask William Becker for more information if necessary.

To post a message you must log in.