[App] libChanList D/E/F/H
Posted: Sun Apr 05, 2015 11:04 am
Lib outputs to log full/current/favorites channels list and some more related infos.
Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
- Get latest samyGOso from there and copy/overwrite samyGOso file (not folder) to /mnt/opt/privateer/usr/bin
- Set permissions if needed (usually not if overwritten)
Code: Select all
chmod +x /mnt/opt/privateer/usr/bin/samyGOso
- Extract attached archive and copy libChanList.so to /mnt/opt/privateer/usr/libso (create folder if needed)
- Execute
Can be executed with or without args, can take several:
Code: Select all
samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libChanList.so [arg1...argN]
- FAV:0..5 - Output choosen favorites list (1-5), FAV:0 outputs current (favorite) list selected on TV.
- ALPHA - Sort list by alphabetical order instead of channel number.
- FAVORDER - Sort favorites lists by user-defined order (default is channel number).
- NOLIST - Show favorite lists number and name (except on D where they have no name), but no channel list.
- FAVCOLUMN - Adds a column to show in which favlist(s) are channels (e.g. X--X- means fav1 and fav4).
- SETCHANNEL:num - Sets channel on TV to given channel number.
- DETAILS - Logs additional infos such as satellite name, frequency, polarity, service ID
- Sample usage:
Outputs favorite channel list 1, sorted by alphabetical order, with additional fav column and sets channel to 2.
Code: Select all
samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libChanList.so FAV:1 ALPHA FAVCOLUMN SETCHANNEL:2
- Sample output:
Code: Select all
[...] [ChanList] TV mode: 0 Air [ChanList] Current channel: 2 France 2 HD [ChanList] Setting channel: 1 TF1 HD [ChanList] Favorite list: None (Current) [ChanList] 1 X---- 490Mhz 0x0501 TF1 HD [ChanList] 2 -X--- 490Mhz 0x0502 France 2 HD [ChanList] 3 --X-- 514Mhz 0x0119 France 3 [ChanList] 4 ---X- 570Mhz 0x0301 CANAL+ [ChanList] 5 ----X 514Mhz 0x0104 France 5 [ChanList] 6 XXXXX 490Mhz 0x0503 M6HD [...] [ChanList] Number of channels: 35 [...]
Code: Select all
6/2/2016
v0.2.2 - Fixed (null) string in case DETAILS isn't used
18/11/2015
v0.2.1 - Added DETAILS arg
3/6/2015
v0.2.0 - Added (Soft-Off) flag
2/5/2015
v0.1.9 - Added (TimeShifting) and (Playing) flags
29/4/2015
v0.1.8 - Minor fix
23/4/2015
v0.1.7 - Added (Recording) flag
1/4/2015
v0.1.6 - NOLIST now shows active favlist
- Cleaning log after functions seek
- First public release
29/3/2015
v0.1.4 - FAVORDER switch added
- Several fixes
- D support
28/3/2015
v0.1.0 - Pre-release