Page 81 of 110

Re: [App] More TV channels on E/F/H series

Posted: Sat Oct 22, 2016 9:28 am
by bobiturboto
In this case can we parse the values which are returned when the channel is opened and switch the audio?

Sent from my D6503 using Tapatalk

Re: [App] More TV channels on E/F/H series

Posted: Sat Oct 22, 2016 9:40 am
by wluczykijwf
bobiturboto wrote:In this case can we parse the values which are returned when the channel is opened and switch the audio?
Yes, But OnlineTV not display which theirs is e.g. AC3. It is the same audio language.

Re: [App] More TV channels on E/F/H series

Posted: Sat Oct 22, 2016 9:49 am
by bobiturboto
In my case for Hbo I have two available languages Bulgarian and English. Most of the time the Bulgarian is actually English but without ac3 because subtitles are in place. For the rest of the channels I want to have bg to be first preferable audio because they are dubbed for every show. Can we have a property in our TVLIST.xml where to specify audio selection? If is not present the default preferences from settings.js will be taken. What you think about this idea, you did a similar solution for buffers?

Sent from my D6503 using Tapatalk

Re: [App] More TV channels on E/F/H series

Posted: Sat Oct 22, 2016 10:02 am
by wluczykijwf
bobiturboto wrote:In my case for Hbo I have two available languages Bulgarian and English. Most of the time the Bulgarian is actually English but without ac3 because subtitles are in place. For the rest of the channels I want to have bg to be first preferable audio because they are dubbed for every show. Can we have a property in our TVLIST.xml where to specify audio selection? If is not present the default preferences from settings.js will be taken. What you think about this idea, you did a similar solution for buffers?
Maybe sometime... It's not that similar to quickly implement like the buffers option.

Re: [App] More TV channels on E/F/H series

Posted: Tue Oct 25, 2016 10:57 pm
by wluczykijwf
bobiturboto wrote:In my case for Hbo I have two available languages Bulgarian and English. Most of the time the Bulgarian is actually English but without ac3 because subtitles are in place. For the rest of the channels I want to have bg to be first preferable audio because they are dubbed for every show. Can we have a property in our TVLIST.xml where to specify audio selection? If is not present the default preferences from settings.js will be taken. What you think about this idea, you did a similar solution for buffers?
Done :D
Auto memorizing current audio PID.
If changed (AD./SUBT. key on RC) audio language track then PID is save to a channels structure and the PID is default for the channel.
Usage: Replace scripts files in main OnlineTV directory.
Test please :D

Re: [App] More TV channels on E/F/H series

Posted: Wed Oct 26, 2016 11:21 pm
by bobiturboto
Thank you for the update
It seems not working on my tv.
When I start a channel with 2 langs and also subtitle pid I am getting this error on the screen with green font

Code: Select all

SetLang TypeError cannot read property 'ch_65534_322' of undefined
I could't find anything suspicious from the logs

Code: Select all

----- Check external files done -----
[Main] AutoPauseMode status: true
[Main] Get widget url: http://192.168.1.101:1080/phpsysinfo/runWidget/runWidget.php?0=
[Main] Get runOnlineTVDataForGUIDE url: http://192.168.1.101:1080/phpsysinfo/runOnlineTVDataForGUIDE/runOnlineTVDataForGUIDE.php
[Main] Get runOnlineTVExtendText url: http://192.168.1.101:1080/phpsysinfo/runOnlineTVDataForGUIDE/runOnlineTVExtendText.php?0=
----- Basic information done -----
----- Event registration go -----
----- Event window go -----
----- Event widget go -----
----- Event SEFPluginAppcommon go -----
----- Event SEFPluginTV go -----
----- Event registration done -----
----- TvList.xml load start -----
----- OnlineTV send ready event -----
[Server] dataReceivedCallback GO
[Main] Loaded 130 channels
[Main] Analog channels: 0
[Main] Digital channels: 412
[Main] Start timer
----- Try OnlineTV Channel (Server.dataReceivedCallback) -----
[Server] dataReceivedCallback Done
[Main] On window go...
[Main] Event type = onShow
[Main] Event data = ?country=BG&samsung_country=BG&language=17&lang=en-GB&modelid=13_FOXP&server=operation&remocon=0_650_259_13&area=PANEURO&product=0&mgrver=5.274&totalMemory=1744830464&direct=true&webbrowser=true&sourcetype=0&preload=false&pia=false
[Main] CheckRegKey: 1
[Main] OnlineTVTurn: 0
[Main] On window! 1
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[Main] On window done...
[Language] en.js is loaded...
[Language] Translate by @wluczykijwf
[Main] Language load done...
[Main] Message TV event: EVENT_CHANNEL_CHANGED(113) -> (-1->322)
[Main] Unregist key
[Main] Minor: 65534
[Main] Major: 322
----- OnlineTV channel name: HBO -----
[Main] idx: 44
[Main] TV Type: 1
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[OnlineChannel] OnlineTV GO_1
[Player] URL = 
[Player] TYPE = HTTP
[OnlineChannel] Load video source, select app: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[OnlineChannel] Full screen
[Player] Screen resolution: 0000/0000/0960/0540
[Player] SetTotalBufferSize: value=20.0 MB, status=1
[Player] SetInitialBufferSize: value=3.00 MB, status=1
[Player] SetPendingBufferSize: value=3.00 MB, status=1
[Player] SetInitialTimeOut: value=90000 ms, status=1
[Player] Set custom video mode, pos (0,0) & size (960,540)
[Player] Video start playback!!!
[OnlineChannel] OnlineTV Success
[Main] CheckingRegKey start
[Main] CheckRegKey: 1
[Main] OnlineTVTurn: 1
[Main] VolCH_SetBannerState
[Main] Power key registered
[Main] Regist key
[Main] CheckingRegKey stop
[Main] Message TV event: EVENT_SOURCE_CHANGED(114) -> (PL_TVMW_SOURCE_TV(0), PL_TVMW_SOURCE_MEDIA(43))
[Player] On stream info ready
[Player] Buffering started
[Player] Buffering: 1%
[Player] Buffering: 91%
[Player] Buffering complete
[Player] Current bitrate: 42.5 Mb/s
[Player] Detected the soundtrack 0: eng
[Player] Detected the soundtrack 1: bul
[Player] Detected the subtitle 0: bul
[Player] GetResolution: 720 x 576, GetResolutionWithPAR: 720 x 405 SD 16:9
[Main] PIP get false
[Main] Message TV event: EVENT_RESOLUTION_CHANGED(117) -> (PL_WINDOW_RESOLUTION_PAL(14), WINDOW_MAIN(0))
[Player] Video played
[Main] Press: KEY_RED
[Display] Widget menu on!
[Main] Press: KEY_RED
[Display] Widget menu off!
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64). On widget event, type: 47, data: LOSE
[Main] The App is activated: PL_TASKMANAGER_DTV_APP_MENU(3), OnlineTV focus: true
[Main] App: PL_TASKMANAGER_DTV_APP_MENU(3). On widget event, type: 47, data: LOSE
[Main] The App is deactivated: PL_TASKMANAGER_DTV_APP_MENU(3), OnlineTV focus: true
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64). On widget event, type: 48, data: GET

Re: [App] More TV channels on E/F/H series

Posted: Wed Oct 26, 2016 11:34 pm
by wluczykijwf
Have you in directory /mtd_rwcommon/common/OnlineTV/ a channels file?

Re: [App] More TV channels on E/F/H series

Posted: Wed Oct 26, 2016 11:43 pm
by bobiturboto
No I don't have it

Re: [App] More TV channels on E/F/H series

Posted: Thu Oct 27, 2016 7:27 am
by wluczykijwf
bobiturboto wrote:No I don't have it
OK. My question was wrong :D
You try one more time.
I added a Premiere word in Settings.js script for Now on TV GUIDE and sort categories. First on list of categories is All and Premiere categorie next is some dinamycal categories and finally Other categorie and Uncategorized.

Re: [App] More TV channels on E/F/H series

Posted: Thu Oct 27, 2016 11:36 pm
by bobiturboto
Hi this time the error is gone, but the functionality still is not working.
I can see something new in the logs, but still no new files in common folder

Code: Select all

----- OnlineTV channel name: HBO -----
[Main] idx: 44
[Main] TV Type: 1
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[OnlineChannel] OnlineTV GO_1
[Player] URL =
[Player] TYPE = HTTP
[OnlineChannel] Load video source, select app: PL_TASKMANAGER_DTV_APP_INFOLINK2(64)
[OnlineChannel] Full screen
[Player] Screen resolution: 0000/0000/0960/0540
[Player] SetTotalBufferSize: value=20.0 MB, status=1
[Player] SetInitialBufferSize: value=3.00 MB, status=1
[Player] SetPendingBufferSize: value=3.00 MB, status=1
[Player] SetInitialTimeOut: value=90000 ms, status=1
[Player] Set custom video mode, pos (0,0) & size (960,540)
[Player] Video start playback!!!
[OnlineChannel] OnlineTV Success
[Main] CheckingRegKey start
[Main] CheckRegKey: 1
[Main] OnlineTVTurn: 1
[Main] VolCH_SetBannerState
[Main] Power key registered
[Main] Regist key
[Main] CheckingRegKey stop
[Main] Message TV event: EVENT_SOURCE_CHANGED(114) -> (PL_TVMW_SOURCE_TV(0), PL_TVMW_SOURCE_MEDIA(43))
[Player] On stream info ready
[Player] Buffering started
[Player] Buffering: 1%
[Player] Buffering complete
[Player] Current bitrate: 42.5 Mb/s
[Player] Detected the soundtrack 0: eng
[Player] Detected the soundtrack 1: bul
[Player] Detected SoundTrackLangPriority0: bul
[Player] Detected the subtitle 0: bul
[Player] GetResolution: 720 x 576, GetResolutionWithPAR: 720 x 405 SD 16:9
[Main] PIP get false
[Main] Message TV event: EVENT_RESOLUTION_CHANGED(117) -> (PL_WINDOW_RESOLUTION_PAL(14), WINDOW_MAIN(0))
[Player] Video played
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64). On widget event, type: 47, data: LOSE
[Main] The App is activated: PL_TASKMANAGER_DTV_APP_MENU(3), OnlineTV focus: true
[Main] App: PL_TASKMANAGER_DTV_APP_MENU(3). On widget event, type: 47, data: LOSE
[Main] The App is deactivated: PL_TASKMANAGER_DTV_APP_MENU(3), OnlineTV focus: true
[Main] App: PL_TASKMANAGER_DTV_APP_INFOLINK2(64). On widget event, type: 48, data: GET
[Player] Buffering started