Blueprint : Restore channel scanning
Hi,
Following our previous thread about a todo list for me-tv, I started to think about restoring channel scanning without using w_scan.
Here is a comparison between the 1.3 monolithic code with the 1.4 client server one :
In 1.3, the ui asks the user to start the channel scanning. The scan related code can run and update the ui while channel are found.
In 1.4, the client ui is independant from any dvb processing. If the user choose channel scanning, only a command could be sent to the server instead.
Blueprint :
- add a new command to the server to retrive a list of all available country
- restore the option in client ui to start channel scanning
- add a new command to the server to trigger channel scanning, with a country parameter
- channel processing : three options
* restore scan.h / scan.c code,
* include the w_scan source code
* exec w_scan command
- add a new command to the server to get scanning progress (sync/async ? how ?)
- poll/push? from client ui to get progress
I wonder If I can remove as much code as possible (scan.h/scan.c,...) to replace it with w_scan. Me-tv will be relieved from supporting the scanning process itself (less support needed) and be able to do it (without command line).
The issue with the easiest way to do it : exec w_scan, is that I can't update the progress and inform the client ui of what is going on. A user friendliest way I might try is link the w_scan source code in me-tv so as keep control of the progress.
Anyway, the w_scan produices a channel.conf file which must be reimported once completed (automatically).
Maybe the easiest way to keep track of the scanning progress is to restore the scan.c/scan.h subroutine ;) instead of my lead on w_scan ?
Pascal
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Me TV Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Pascal Noisette for more information if necessary.