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

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post by wluczykijwf »

More TV channels on TV

Features: Last version app:
Tested on F series.

Usage:
  • Unpack attached OnlineTV.zip (or new version OnlineTV v. 1.1.12.9.(Image 07.12.2020) or optionally old version OnlineTV v. 0.9.0 is working on emulator (v. 2.5.1, v. 3.5.2, v. 4.0 and v. 5.0) and on C-series (confirmed by @tempinbox) to:
    • E,F series: /mtd_rwcommon/widgets/user/OnlineTV
    • H serie: /mtd_unirw/rwcommon/widgets/user/OnlineTV
  • Export from TV a channel list on USB Drive (Main Menu->Broadcasting->Channel Settings->Transfer Channel List->Export to USB)
    • If this submenu is grayed you use the libZiggoState by @zoelechat
  • Edit channel list (*.scm file) in SamToolBox (http://samtoolbox.soft32.com/)
    • Copy any row and paste
    • Edit the pasted rows (see annex: Edit channel list in SamToolBox)
    • Set new channel name
    • Set unique value for SID and BOUQET
      dd.png
  • Save channel list and send to TV (Main Menu->Broadcasting->Channel Settings->Transfer Channel List->Import from USB)
  • On the basis of the channel list to edit or create TvList.xml
    • <categories> - not remove and edit section, reserved - to be defined in a future version
    • <title> - displays the name of the channel
    • <link> - link of the online source
    • <image> - link of the channel logo
    • <description> </description> - not remove and edit section, reserved - to be defined in a future version
    • <type> - online source type (set HTTP or HLS)
    • <ch_category> - not remove and edit section, reserved - to be defined in a future version
    • <tvid> - number channel on TV
    • <source> - displayed channel source (set: ATV, CATV, DTV, SATD, CDTV, or OnlineTV)
    TvList.xml edit example:

    Code: Select all

    <rss>
      <categories>
        <category>
          <category_id>0</category_id>
          <category_title>All</category_title>
        </category>
      </categories>
     <channel>
      <item>
        <title>KiKa</title>
        <link>None</link>
        <image>http://www.cyfrowypolsat.pl/img/homepage/logo/big/program-tv-ki_ka.gif</image>
        <description> </description>
        <type>HTTP</type>
        <ch_category>
          <id_category>
          </id_category>
        </ch_category>
          <tvid>10</tvid>
        <source>ATV</source>
      </item>
      <item>
        <title>Fokus TV</title>
        <link>None</link>
        <image>http://media2.pl/g/300/38089.jpg</image>
        <description> </description>
        <type>HTTP</type>
        <ch_category>
          <id_category>
          </id_category>
        </ch_category>
        <tvid>25</tvid>
        <source>DTV</source>
      </item>
      <item>
        <title>ITV</title>
        <link>mms://194.150.185.253/ITV</link>
        <image>http://www.cyfrowypolsat.pl/img/homepage/logo/big/mtv-dance.gif</image>
        <description> </description>
        <type>HTTP</type>
        <ch_category>
          <id_category>
          </id_category>
        </ch_category>
        <tvid>26</tvid>
        <source>OnlineTV</source>
      </item>
     </channel>
    </rss>
    
  • Under Windows the channel list (* .scm and TvList.xml) can be created using the OnlineTVCHanList.
  • Save new TvList.xml and send to (/mtd_rwcommon/widgets/user/OnlineTV/)
  • Set, if to enable load the app after reboot TV (Main Menu->Smart Features->Apps Settings->Auto Ticker->OnlineTV) or select OnlineTV on SmatHub
  • Or the best autostart OnlineTV after reboot TV with the libRunWidget app by @zoelechat (example)
The log files are in the directory:
  • E,F series: /mtd_rwcommon/common/OnlineTV
  • H serie: /mtd_unirw/rwcommon/common/OnlineTV
The changelog of the OnlineTV app:

Code: Select all

* v. 1.1.12.9. (07.12.2020)
	- Fixed minor bug for newly TV''s firmware version
* v. 1.1.12.8. (11.12.2016)
	- Fixed minor bugs
	- Fixed bug with change channel on HDMI receiver
	- Fixed bug with displayed more information about current audio stream
	- Added memorizing current audio pid
	- In the Now on TV GUIDE:
		+ Added finding and setting current channel on porgrams list when selected All category
		+ Added all channels to All category
		+ Added displaying description for selected program (yellow key)
		+ Added display more information about stream
		+ Added icon for OnlineTV
	- Fixed displaying icon in SmartHUB on E-series
	- Fixed play stream on E-series
	- Minor fixed for Reload function
* v. 1.1.11. (15.10.2016)
	- Fixed minor bugs
	- Update language scripts
	- Added parametrs to settings for buffer stream via user
	- In the Now on TV GUIDE:
		+ Fixed minor bugs
		+ Added parameter MinCategoriesCreate 
		+ Added parameter IgnoringProgramProcent
		+ Added parameter AddProgramIfMinutes
* v. 1.1.10. (01.10.2016)
	- Fixed minor bugs
	- In the Now on TV GUIDE:
		+ Fixed minor bugs
		+ Fixed bug with timezone offset
		+ Added categorie All with sort by number channel
		+ Added switching on pages via CH UP/DOWN keys
	- Added switching on next/prev program display in short info (GREEN key) via RIGHT/LEFT keys
	- Added switching on next/prev program display in GUIDE (YELLOW key) via RIGHT/LEFT keys
	- Added new information in short info (resolution, quality, aspect ratio, audio language, vpid, apid, spid, bitrate, time play)
	- Added auto reload OnlineTV channel when it freeze
	- Added reload function for OnlineTV channel to ENTER key
* v. 1.1.9. (15.05.2016)
	- Added set auto pause mode for standard channel sources
	- Added set auto resume mode for OnlineTV channel source
	- Added language scripts
	- Added variable autoPauseMode on Settings.js to on/off pause mode (default on)
	- Added support color key in pause mode
* v. 1.1.8. (26.04.2016)
	- In the Now on TV GUIDE:
		+ Fixed bug with add hour for timezone
		+ Slightly improved time data generation 
		+ Fixed bug with refresh a category index
		+ Added the "Uncategorized" item
	- Added support FF and RW keys when play movie (?60 s)
	- Fixed problem with show a graphic for app
* v. 1.1.7. (12.04.2016)
	- Added on/off write log to file
	- Added on/off add timer in log line
	- Added support MJEPG video type format 
	- Fixed support for change channels with Number and Pre-ch keys
	- Unlock Tools key for OnlineTV source
	- Fixed save log file
* v. 1.1.6. (05.03.2016)
	- Fixed fit logo of channel, now it fit also width dimension
	- Fixed cooperate width libs: OnlineTVExText and OnlineTVDataForGUIDE
	- Added simulate hard turn off TV (when inject lib SoftPowerOff)
	- Added checked existing external files which cooperate with OnlineTV
* v. 1.1.5. (20.02.2016)
	- Fixed loading OnlineTV channel when app started form it
	- Added displayed info about current program
	- Added displayed list of currnet porgram with order and categories
	- Added timer in log
* v. 1.1.4. (25.01.2016)
	- Added record stream on disk function
* v. 1.1.3. (21.01.2016)
	- Fixed minor a bugs
	- Moved the RestartTVChannel variable to the Settings.js file
	- Added function the LanguageNumToStr to the Util.js file
	- Added displayed a next program
	- Added displayed a extend text for current program
* v. 1.1.2. (06.01.2016)
	- Fixed minor a bugs
	- Added displayed current bitrates
* v. 1.1.1. (02.01.2016)
	- Fixed reload a OnlineTV channel when GUIDE, INFO, CH.LIST, etc. is show
* v. 1.1.0.  (31.12.2015)
	- Fixed minor a bags
	- Added multilangue interface
	- Added variable SoundTrackLangPriority (Settings.js)
	- Added the ability to OnPause mode (quickly press the RETURN key twice)
	- OnPause mode works PVR, but doesn't works RC keys for OnlineTV
* v. 1.0.9. (01.12.2015)
	- Fixed minor a bags
	- Now do not reset the TV when you select Record for DTV source
	- You can watch Online TV channel while recording a DTV source
	- Added multiapp mode
	- Added cooperate with the libSoftPowerOff app by @zoelechat
	- Expanded logs
* v.1.0.8. (16.10.2015)
	- Changing the method of detecting change the channel
	- Write log file on E-series
	- Fixed minor bugs described by @ZeTek (ES-series) and @bartik (H-serise)
* v.1.0.7. (20.07.2015)
	- Added the ability to run any widget via libRunWidget by @zoelechat
* v. 1.0.6. (08.07.2015)
	- Added scaling a source display on SmartHub, Guide...
	- Added save log in file (/mtd_rwcommon/common/OnlineTV/)
	- Fixed green key (display a now program info with libEPG by @sectroyer)
	- and some small fixes ...
* v. 1.0.5. (11.05.2015)
	- Works also on H-series (reported by @bartik)
	- Fixed problem with losing hdmi-cec control (reported by @bobiturboto)
* v. 1.0.4. (18.03.2015)
	- Support for the WeebTV source of live video
	- Support for any your source of live video after writing a script to support links to player TV
* v. 1.0.3. (12.03.2015)
	- Support the rtmp protocol with the rtmpgw app 
* v. 1.0.2. (09.03.2015)
	- Fixed support for INFO key for OnlineTV source with possibility in background watching
	- Removed display of information channel empty
* v. 1.0.1. (03.03.2015)
	- Fixed register/register Pause, PRE-CH, Number and AD/SUBT. keys for OnlineTV source
	- Added support for the EXIT button (quickly press the EXIT key twice)
	- Added support for INFO, CH LIST key for OnlineTV source with possibility in background watching
	- Added support for GUIDE key for OnlineTV source with possibility in background watching
	  (yet without scaling a video)
	- Yet the INFO, CH List and GUIDE keys for one watch channel operate alternately
	  but allow you to manage the EPG content from libEPG by @sectroyer
	- Unfortunately, stream viewed in the background after keypress (INFO, CH LIST, GUIDE) briefly disappears
* v. 1.0.0. (17.02.2015)
	- First public release
You do not have the required permissions to view the files attached to this post.
Last edited by wluczykijwf on Fri Jun 04, 2021 7:15 pm, edited 24 times in total.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [APP] More TV channels on F series

Post by bobiturboto »

Amazing app thank you very much, working amazing. Any idea how to autostart the app with the latest samygo which require autostart? Can I add all of the online channels like separate source or as part from analogue channels source?
Thank you
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [APP] More TV channels on F series

Post by wluczykijwf »

Thank you for your interest in the app.
bobiturboto wrote:Any idea how to autostart the app with the latest samygo which require autostart?
You can modify the Main.onLoad function in SamyGO_AutoStart app (/mtd_rwcommon/widgets/user/SamyGO_AutoStart/JavaScript/Main.js).
When you change:

Code: Select all

Main.onLoad = function() {
	document.getElementById("anchor").focus();
	filePlugin = document.getElementById("pluginFileSystem");
	showTitle();
	widgetAPI.sendReadyEvent();
};
to:

Code: Select all

Main.onLoad = function() {
	document.getElementById("anchor").focus();
	filePlugin = document.getElementById("pluginFileSystem");
	showTitle();
	setTimeout("runWidget(\"OnlineTV\");", 100);
	widgetAPI.sendReadyEvent();
};
bobiturboto wrote:Can I add all of the online channels like separate source or as part from analogue channels source?
It is possible to add online channels in file list channel as part of the ATV source, but in this version app must be added as part of the DTV source. This solution has been chosen because of the limitation on the number of channels ATV source (numbers 0-99).
Last edited by wluczykijwf on Mon Feb 23, 2015 8:24 am, edited 1 time in total.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [APP] More TV channels on F series

Post by bobiturboto »

I am trying to add epg together with the app - restful source and xml import reagarding to epg api patch. I think your idea is amazing, thanks again.
I've tried to change main.js but unfortunately, samygo won't start because online tv startup interrupting it.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [APP] More TV channels on F series

Post by wluczykijwf »

bobiturboto wrote:I've tried to change main.js but unfortunately, samygo won't start because online tv startup interrupting it.
This script works for me, but this solution depends on timeoutValue, therefore better use the following amendment:
When you change:
SpoilerShow

Code: Select all

function showTitle() { 
	var titleDivElement = document.getElementById("title");
	var title = "Widget <b style='color:green'>" + curWidget.id + "</b> for Samsung SmartTV F-series";
	widgetAPI.putInnerHTML(titleDivElement, title);
	if ("SamyGO_AutoStart" == curWidget.id) {
		if(exists("/dtv/SamyGO_Injected"))
		{
			currentStep=-1;
			logPara("<b style='color:green'>SamyGO activated!!!</b>");
			logPara("<b style='color:green'>Widget will be closed automatically in " + Math.floor(timeoutValue / 1000) + " seconds and " + (timeoutValue % 1000) + " milliseconds!!!</b>");
			setTimeout("widgetAPI.sendExitEvent();",timeoutValue);
		}
		else
		{
			logPara("Press <b style='color:red'>Enter</b> or wait " + Math.floor(timeoutValue/1000) + " seconds and " + (timeoutValue%1000) + " milliseconds for activation " + curWidget.id + "!");
			setTimeout("if(currentStep == 0){clearLog();usbTest();setupSamyGO(usbMountPath);}",timeoutValue);
			
		}
	} else {
		logPara("Current widget name '<b style='color:red'>" + curWidget.id + "</b>' differs from expected 'SamyGO_AutoStart'!");
	}
};
to:
SpoilerShow

Code: Select all

function showTitle() { 
	var titleDivElement = document.getElementById("title");
	var title = "Widget <b style='color:green'>" + curWidget.id + "</b> for Samsung SmartTV F-series";
	widgetAPI.putInnerHTML(titleDivElement, title);
	if ("SamyGO_AutoStart" == curWidget.id) {
		if(exists("/dtv/SamyGO_Injected"))
		{
			currentStep=-1;
			logPara("<b style='color:green'>SamyGO activated!!!</b>");
			logPara("<b style='color:green'>Widget will be closed automatically in " + Math.floor(timeoutValue / 1000) + " seconds and " + (timeoutValue % 1000) + " milliseconds!!!</b>");
			logPara("<b style='color:green'>OnlineTV widget will be loaded automatically!!!</b>");
			setTimeout("runWidget(\"OnlineTV\");", timeoutValue);
			//setTimeout("widgetAPI.sendExitEvent();",timeoutValue);
		}
		else
		{
			logPara("Press <b style='color:red'>Enter</b> or wait " + Math.floor(timeoutValue/1000) + " seconds and " + (timeoutValue%1000) + " milliseconds for activation " + curWidget.id + "!");
			setTimeout("if(currentStep == 0){clearLog();usbTest();setupSamyGO(usbMountPath);}",timeoutValue);
			
		}
	} else {
		logPara("Current widget name '<b style='color:red'>" + curWidget.id + "</b>' differs from expected 'SamyGO_AutoStart'!");
	}
};
IMG_20150222_233540_3.jpg
You do not have the required permissions to view the files attached to this post.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [APP] More TV channels on F series

Post by bobiturboto »

Tomorrow I will post my results but I know the source of my problems. I've changed the timeout of samygo loading from 5000 to 100 msec.
I saw some new things from your video could you clarify what's new is there :)
Thank you
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

Re: [APP] More TV channels on F series

Post by wluczykijwf »

bobiturboto wrote:I saw some new things from your video could you clarify what's new is there
In the video OnlineTV work is presented in collaboration with an external application, created by me (SamusungTVServer for Windows).
SamusungTVServer can:
  • Transcoding eg rtmp stream;
  • Support for Live TV with Wilmaa Free;
  • Parsing TV program guide (EPG) from the Polish web side (http://www.cyfrowypolsat.pl/program-tv/lista-kanalow/);
  • TVList.xml list management (add, delete, edit entries);
  • Automatic creation of the channel list (based on the list of the TV) and save to a file * .scm;
  • In the future management of groups of favorite channels.
SamsungTVServer application is in the testing phase and limited due to the only source of EPG Polish, so I decided not to publish it yet.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [APP] More TV channels on F series

Post by sectroyer »

wluczykijwf wrote: SamsungTVServer application is in the testing phase and limited due to the only source of EPG Polish, so I decided not to publish it yet.
Check my libEPG thread. You should support XML format generated by web grabber plus :)

viewtopic.php?f=40&t=8584
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: [APP] More TV channels on F series

Post by juusso »

Just for feedback: Widget does not even start on D series (as expected). Says network error or smth like this. Edit: with faked dns it starts, but i see blank screen.

p.s. shouldn`t be the topic named like "Source to one channel list mixer". Just a suggestion :)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: [APP] More TV channels on F series

Post by bobiturboto »

wluczykijwf wrote:
bobiturboto wrote:I've tried to change main.js but unfortunately, samygo won't start because online tv startup interrupting it.
This script works for me, but this solution depends on timeoutValue, therefore better use the following amendment:
When you change:
SpoilerShow

Code: Select all

function showTitle() { 
	var titleDivElement = document.getElementById("title");
	var title = "Widget <b style='color:green'>" + curWidget.id + "</b> for Samsung SmartTV F-series";
	widgetAPI.putInnerHTML(titleDivElement, title);
	if ("SamyGO_AutoStart" == curWidget.id) {
		if(exists("/dtv/SamyGO_Injected"))
		{
			currentStep=-1;
			logPara("<b style='color:green'>SamyGO activated!!!</b>");
			logPara("<b style='color:green'>Widget will be closed automatically in " + Math.floor(timeoutValue / 1000) + " seconds and " + (timeoutValue % 1000) + " milliseconds!!!</b>");
			setTimeout("widgetAPI.sendExitEvent();",timeoutValue);
		}
		else
		{
			logPara("Press <b style='color:red'>Enter</b> or wait " + Math.floor(timeoutValue/1000) + " seconds and " + (timeoutValue%1000) + " milliseconds for activation " + curWidget.id + "!");
			setTimeout("if(currentStep == 0){clearLog();usbTest();setupSamyGO(usbMountPath);}",timeoutValue);
			
		}
	} else {
		logPara("Current widget name '<b style='color:red'>" + curWidget.id + "</b>' differs from expected 'SamyGO_AutoStart'!");
	}
};
to:
SpoilerShow

Code: Select all

function showTitle() { 
	var titleDivElement = document.getElementById("title");
	var title = "Widget <b style='color:green'>" + curWidget.id + "</b> for Samsung SmartTV F-series";
	widgetAPI.putInnerHTML(titleDivElement, title);
	if ("SamyGO_AutoStart" == curWidget.id) {
		if(exists("/dtv/SamyGO_Injected"))
		{
			currentStep=-1;
			logPara("<b style='color:green'>SamyGO activated!!!</b>");
			logPara("<b style='color:green'>Widget will be closed automatically in " + Math.floor(timeoutValue / 1000) + " seconds and " + (timeoutValue % 1000) + " milliseconds!!!</b>");
			logPara("<b style='color:green'>OnlineTV widget will be loaded automatically!!!</b>");
			setTimeout("runWidget(\"OnlineTV\");", timeoutValue);
			//setTimeout("widgetAPI.sendExitEvent();",timeoutValue);
		}
		else
		{
			logPara("Press <b style='color:red'>Enter</b> or wait " + Math.floor(timeoutValue/1000) + " seconds and " + (timeoutValue%1000) + " milliseconds for activation " + curWidget.id + "!");
			setTimeout("if(currentStep == 0){clearLog();usbTest();setupSamyGO(usbMountPath);}",timeoutValue);
			
		}
	} else {
		logPara("Current widget name '<b style='color:red'>" + curWidget.id + "</b>' differs from expected 'SamyGO_AutoStart'!");
	}
};
IMG_20150222_233540_3.jpg
Everything working perfectly. I returned the default timeout to 5000 and changed the function.
Thank you very much.

Post Reply

Return to “[F] Software”