Added data dir for disabled services/events

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added events/services files initialization for holding disabled services

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added enabled attr to service

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
If service is enabled, save to db, if not, to file

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
If service came from db, is enabled

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
When listing services, read from db and from file

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
On delete, check if service enabled before throwing error

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Check if event's service is in file to see if its disabled or not

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Replaced max id seach with function

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
If enabled, save to db, if not, to file

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
When listing events, check in db and in file

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
When getting max event id, look in db and in file

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Make sure carousel db is up

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added massive services add function

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added massive add events function

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added functions for enabling/disabling services

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Changed delete service in gui for enable/disable service

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added enabled column in gui

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added missing attrs in dataprovider

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Modified importer to use epg lib massive functions

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>