• 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 53
[RELEASE] TFC.tv (Filipino) Video Addon Available
(2016-11-19, 10:08)ljgibbzz Wrote:
(2016-11-19, 01:59)rpbg Wrote: Although I am a newbee hereI found the source here https://github.com/todits-xbmc/todits-xbmc-tv/
and amended this file todits-xbmc-tv/plugin.video.tfctv/default.py
by replacing at line number 9 baseUrl = 'http://tfc.tv' to baseUrl = 'http://beta.tfc.tv'.
Afterwards I pulled a request to change the repository unfortunately it still does not work as it seems it should be approved by the source owner.
If you are interested please support me to do the changes. I believe that this workaround should work. Please check this URL https://github.com/todits-xbmc/todits-xbmc-tv/.

Thats what i did too. But still the folders Shows, News and Movies are empty.....


HI ljgibbzz,

Yes thanks for your feedback and I can confirm that it did not work for me as well.
I found another line in the amended file todits-xbmc-tv/plugin.video.tfctv/default.py at
line number 313: callServiceApi("/User/_Login", formdata, headers = [('Referer', 'http://tfc.tv/User/Login')], base_url = 'https://tfc.tv')
and I changed it also and added 'beta' like this callServiceApi("/User/_Login", formdata, headers = [('Referer', 'http://beta.tfc.tv/User/Login')], base_url = 'https://beta.tfc.tv'), but unfortunately it still does not work.
I will keep you in the loop of any further changes.

cheers,
Ricardo
(2016-11-19, 01:59)rpbg Wrote: Although I am a newbee hereI found the source here https://github.com/todits-xbmc/todits-xbmc-tv/
and amended this file todits-xbmc-tv/plugin.video.tfctv/default.py
by replacing at line number 9 baseUrl = 'http://tfc.tv' to baseUrl = 'http://beta.tfc.tv'.
Afterwards I pulled a request to change the repository unfortunately it still does not work as it seems it should be approved by the source owner.
If you are interested please support me to do the changes. I believe that this workaround should work. Please check this URL https://github.com/todits-xbmc/todits-xbmc-tv/.

I don't think it's as simple as modifying the baseurl. The beta.tfc.tv website has different formatting compared to the old one.

I've done a brief run through of Todits script and it goes with the old tfc.tv website's format that allows the playable address to be passed to native / non-flash video players. Unfortunately, the new TFC website doesn't allow it to be parsed to a 3rd party player like Kodi.

For example, below is the dynamic playable addresss for ANC extracted from kodi.log after running Todits script. This varies with the detected IP address, web browser, etc, which the website used to allow to be played. Aside from Kodi's built in player, this easily plays with a 3rd party m3u8 player like windows media player and android mx player for a given time frame. But the new site doesn't allow this anymore with what looks like an added security check of tfc.tv that disallows 3rd party players much like what iwantv does.

h t t p : // tfciptv-lh.akamaihd.net/i/anc_1
@177578/master.m3u8?hdnea=ip=
104.17.99.108~st=1478177800~exp=
1478178100~acl=/*~data=42295~
hmac=e28bf59937b28c55a1830c4
b0a7b6bd94bc2262257d5c5fa0948
c59393e9e9bf

I guess todits script needs to be rewritten to conform with a more secured HLS / HDS (http streaming) standards which luckily Kodi library supports.

Btw, the tfc.tv default.py can be modified locally on your device's kodi addon folder for you to test your modification if it works or not. It's not necessary to go to and from github unless you're planning to deploy the modified addon with the owner's approval.

Ill see what I can do and will just keep you posted. For starters, Im working on the ANC live streaming using another approach.
Hello all,
I use this non official TFC.tv addon for a long time now. And I've also encountered problems with the news beta version of TFC.tv website.
I'm a programmer so I had a look on the code and modified it to use mobile apps version URLs.

You can find the working addon file here : https://dl.dropboxusercontent.com/u/9533...0.0.44.zip

I've also added some little enhancements (description and fanarts). At first, I've done these changes for personal use, but I would like to share this with you because I know that this addon is in beta for a long time now.

I hope you'll enjoy!! Wink
(2016-11-20, 19:42)Bachochoy Wrote: Installing Betternet VPN on your Android Box (MX Pro 4k) will do the trick! Tested also in Windows and Android phones.

Hi Bachochoy,
Thanks for your reply and suggestion that you provided.
I tried it yesterday, but it did not work for me.. I was not able to install openvpn on my raspberry 2.
Regards,
Ricardo
(2016-11-21, 12:45)cmik Wrote: Hello all,
I use this non official TFC.tv addon for a long time now. And I've also encountered problems with the news beta version of TFC.tv website.
I'm a programmer so I had a look on the code and modified it to use mobile apps version URLs.

You can find the working addon file here : https://dl.dropboxusercontent.com/u/9533...0.0.44.zip

I've also added some little enhancements (description and fanarts). At first, I've done these changes for personal use, but I would like to share this with you because I know that this addon is in beta for a long time now.

I hope you'll enjoy!! Wink

Hello cmik,
Thanks for your message. I will try the working addon file once I am at home.
I will keep you posted.
Regards,
Ricardo
Thanks Ricardo. And thanks for the good work on this addon!
We really enjoy watching TFC on Kodi!
it's now working thanks for the update 0.44

regards,
kabise
(2016-11-19, 13:44)musicgeek Wrote:
(2016-11-19, 01:59)rpbg Wrote: Although I am a newbee hereI found the source here https://github.com/todits-xbmc/todits-xbmc-tv/
and amended this file todits-xbmc-tv/plugin.video.tfctv/default.py
by replacing at line number 9 baseUrl = 'http://tfc.tv' to baseUrl = 'http://beta.tfc.tv'.
Afterwards I pulled a request to change the repository unfortunately it still does not work as it seems it should be approved by the source owner.
If you are interested please support me to do the changes. I believe that this workaround should work. Please check this URL https://github.com/todits-xbmc/todits-xbmc-tv/.

I don't think it's as simple as modifying the baseurl. The beta.tfc.tv website has different formatting compared to the old one.

I've done a brief run through of Todits script and it goes with the old tfc.tv website's format that allows the playable address to be passed to native / non-flash video players. Unfortunately, the new TFC website doesn't allow it to be parsed to a 3rd party player like Kodi.

For example, below is the dynamic playable addresss for ANC extracted from kodi.log after running Todits script. This varies with the detected IP address, web browser, etc, which the website used to allow to be played. Aside from Kodi's built in player, this easily plays with a 3rd party m3u8 player like windows media player and android mx player for a given time frame. But the new site doesn't allow this anymore with what looks like an added security check of tfc.tv that disallows 3rd party players much like what iwantv does.

h t t p : // tfciptv-lh.akamaihd.net/i/anc_1
@177578/master.m3u8?hdnea=ip=
104.17.99.108~st=1478177800~exp=
1478178100~acl=/*~data=42295~
hmac=e28bf59937b28c55a1830c4
b0a7b6bd94bc2262257d5c5fa0948
c59393e9e9bf

I guess todits script needs to be rewritten to conform with a more secured HLS / HDS (http streaming) standards which luckily Kodi library supports.

Btw, the tfc.tv default.py can be modified locally on your device's kodi addon folder for you to test your modification if it works or not. It's not necessary to go to and from github unless you're planning to deploy the modified addon with the owner's approval.

Ill see what I can do and will just keep you posted. For starters, Im working on the ANC live streaming using another approach.

Yes, unfortunately, the addon has to be rewritten because new TFC.tv beta version has changed their HTML page format (Login, Categories, Shows) and some pages are missing (Show detail page). And we don't have news from todits since last year.
It is difficult to adapt the source code to new beta.tfc.tv pages, so I had a look on TFC.tv android app and retrieved TFC.tv JSON URLs.
I've changed the code to retrieve JSON instead of HTML. I think this version is better than retrieving the info directly on the website.
But I've kept the http://tfc.tv/Show/GetMoreEpisodes/... URL to retrieve episodes by pages, but I addditionally use the JSON also to retrieve the fanarts.

You can download the working version here : https://dl.dropboxusercontent.com/u/9533...0.0.44.zip

It is working on KODI on my computer (Windows) and on Raspberry Pi. TFC.tv is still on Beta so there can still some bugs to come. I hope this will work for you.

Enjoy!

Thanks to Todits for this great addon!

Regards,
Thanks Cmik!!! Will try it right away Smile
Works like a charm now Big Grin

OS: Kodibuntu v 14
Computer: Asrock ION

Thanks again cmik!!
Hello. Thanks for trying to find a solution for this.
Tried with Kodi 16.0 on Firestick, but it doesn't work.
(2016-11-21, 13:08)rpbg Wrote:
(2016-11-21, 12:45)cmik Wrote: Hello all,
I use this non official TFC.tv addon for a long time now. And I've also encountered problems with the news beta version of TFC.tv website.
I'm a programmer so I had a look on the code and modified it to use mobile apps version URLs.

You can find the working addon file here : https://dl.dropboxusercontent.com/u/9533...0.0.44.zip

I've also added some little enhancements (description and fanarts). At first, I've done these changes for personal use, but I would like to share this with you because I know that this addon is in beta for a long time now.

I hope you'll enjoy!! Wink

Hello cmik,
Thanks for your message. I will try the working addon file once I am at home.
I will keep you posted.
Regards,
Ricardo


Hello cmik,

I just tried and installed your addon and it works perfect.
HIghly appreciate for the work you have done.

Regards,
Ricardo

*** Note: Device that I am using:
Raspberry 2
OS: Openelec version 5.0.2
Kodi Helix 14.1
I had tfc.tv in favourites. After starting it directly from video addon - also works now!
Thank you!!!
Hello - Sorry, I have very limited Kodi knowledge, so how do I install/update the addon/zip by cmik? I have Sony smart tv, Kodi app downloaded thru the google app store.

Thanks!
(2016-11-21, 13:05)rpbg Wrote:
(2016-11-20, 19:42)Bachochoy Wrote: Installing Betternet VPN on your Android Box (MX Pro 4k) will do the trick! Tested also in Windows and Android phones.

Hi Bachochoy,
Thanks for your reply and suggestion that you provided.
I tried it yesterday, but it did not work for me.. I was not able to install openvpn on my raspberry 2.
Regards,
Ricardo

In case issue happens again and requires VPN, use Linvpn as it works on other android box not compatible in Betternet, etc.
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 53

Logout Mark Read Team Forum Stats Members Help
[RELEASE] TFC.tv (Filipino) Video Addon Available9