• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10
Globo.tv Addon [Brazilian TV Show producer]
#1
IMPORTANT NOTE:
As of 2014-08-11, this addon has been deprecated in favor of the new Globo.com addon.
To know more, head over to http://forum.kodi.tv/showthread.php?tid=201846

-----

So, did this just for fun, and it worked.

I do watch with my wife a cooking show they air, but the plugin fetchs all the videos available on the website divided by each TV Show.

The channel features original brazilian tv shows mostly targeted for women, no subs available.

Also saw that other globosat channels has the same structure (multishow, futura, canal brasil, globo news, etc)
So, I'm posting this here to see if there's any interest from other (brazilian or not) users in such add-on.

Also saw older threads about globo.com, I guess it could be done in the future.

Anyhow, here it goes:
https://github.com/downloads/vitorhirota...nt-0.1.zip

It's a very initial version, so any questions or problems, let me know.

UPDATE:
I'm updating the first thread so it keeps easier for new users.

UPDATE 2:
As of version 0.5.5.1, the plugin moved to repository.brazilian.xbmc-addons. Which will allow automatic updates for new versions.

The plugin is available for download now here:
http://vitorhirota.github.com/plugin.video.globotv/
https://bitbucket.org/vitorhirota/reposi...-1.0.0.zip

For issues and code, visit the repository page at https://bitbucket.org/vitorhirota/reposi...mc-addons/

Never have thought about this, but since some people asked, here goes a donation button.
If you are feeling thankful, and would like to buy me a beer, I will definitely appreciate it Smile

Image

There are a lot of items that are actually a playlist, and for some reason xbmc will skip the first item. So, make sure you are watching the right item... This should be fixed. Let me know if anyone is still seeing skipping behavior.

I'm also copying the changelog below:
Code:
0.5.7
PT: Suporte a Gotham por fernandovg
EN: Gotham support by fernandovg

0.5.6
PT: Fix para problemas de versão do player por rdtorres
EN: Fix for player version problem by rdtorres

0.5.5.4
PT: Correção da versão do player na url de hash (2.8.4)
EN: player version update during hash request (2.8.4)

0.5.5.3
PT: Correção da versão do player na url de hash
EN: player version update during hash request

0.5.5.2
PT: correção para quando id de sessão expirou
EN: fix for expired session id

0.5.5.1
PT: atualização da versão da api na url de hash
EN: api version update in hash url

0.5.5
PT: atualização código de hash
EN: hash code update

0.5.4
PT: Correção da lista de recursos de vídeo
EN: Video resource list fix

0.5.3
PT: Correção de bug
EN: statement fix

0.5.2
PT: Correção de UnicodeError para algumas mensagens de log.
EN: UnicodeError fix for some log messages.

0.5.1
PT: Correção para retro compatibilidade com Eden
EN: Backwards compatibility for Eden

0.5
PT: Alterado estrutura para swift2 e requests.
     Correções:
     - 'skipping unplayable item'
     - cabeçalho de cookie fixo para autorização
     - casos em que aparentemente nenhum video toca (filtragem de playlists)
EN: Major move to swift2 and requests. Bug-fixes.
         Fixes:
         - 'skipping unplayable item' errors, which skipped every first item of playlists
         - authorization issues for exclusive content, which made the plugin stream only in low def
         - cases in which 'apparently no video worked' was probably due to unhandled m3u playlists being fetched, which was using relative paths to globo servers, these are filtered out now

0.4
PT: Possibilidade de assistir aos vídeos em alta-resolução quando disponível, e autenticação, permitindo a usuários assinantes assistir ao conteúdo exclusivo.
EN: Watch HD videos when available and authentication for paying users, allowing for subscribers only video streaming.

0.3.1
PT: Corrigido casos em que próxima página não retorna nenhum vídeo.
EN: Fixed when next page does not bring any results.

0.3
PT: Melhorado a regexp de busca de vídeos, corrigindo casos em que o mesmo id de seção seria buscado duas vezes.
EN: Improved video scraping regexp, correcting cases in which the same section id would be fetched twice.

0.2
PT: Alterado o nome do plugin de gnt para globotv, já que agora busca diretamente no website da globotv.
EN: Change plugin name from gnt to globotv, since it's now scrapping globotv website directly.

0.1
PT: Primeira versão para Eden, listagem básica dos programas disponíveis e seus episódios.
EN: First Version for Eden, basic listing of available shows and its episodes.
Reply
#2
Gonna test it here.

And Globo News would be VERY appreciated. Big Grin

Thanks, man.
Reply
#3
Just to update... The addon has been changed to fetch videos from http://globo.tv instead.
The download link above is broken since the repository name changed to plugin.video.globotv

You can download the new addon here:
https://github.com/downloads/vitorhirota...-fixed.zip

Enjoy!
Reply
#4
(2012-11-25, 21:10)vhd90 Wrote: Just to update... The addon has been changed to fetch videos from http://globo.tv instead.
The download link above is broken since the repository name changed to plugin.video.globotv

You can download the new addon here:
https://github.com/downloads/vitorhirota...tv-0.2.zip

Enjoy!

Hi..

It's not working....when I try to install, the xbmc shows the message: "Add-on does not have the correct structure"
Reply
#5
Sorry... it's fixed here:
https://github.com/downloads/vitorhirota...-fixed.zip

Let me know if you run in any other problems...
Reply
#6
it's working...thanks...I was using it for three days now and there's no problem at all.
Reply
#7
nice! thanks for the feedback. glad it was useful Smile
Reply
#8
In latest XBMC Frodo, I have error in script

12:51:37 T:7028 NOTICE: -->Python Interpreter Initialized<--
12:51:37 T:7028 NOTICE: cache:
12:51:37 T:7028 NOTICE: Action: list_videos
12:51:37 T:7028 NOTICE: Params: {'action': 'list_videos', 'uri': '/rede-globo/fantastico', 'page': 1, 'rail_id': '4e3192ae91089174a000000c'}
12:51:37 T:7028 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('filter',)
Traceback (most recent call last):
File "D:\xbmcfrodo12\portable_data\addons\plugin.video.globotv\default.py", line 244, in <module>
locals()[action](**params)
File "D:\xbmcfrodo12\portable_data\addons\plugin.video.globotv\default.py", line 106, in list_videos
_filter = kwargs['filter']
KeyError: ('filter',)
-->End of Python script error report<--
12:51:37 T:8576 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.globotv/?action=list_videos&page=1&rail_id=4e3192ae91089174a000000c&uri=%2frede-globo%2ffantastico
12:51:37 T:8576 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.globotv/?action=list_videos&page=1&rail_id=4e3192ae91089174a000000c&uri=%2frede-globo%2ffantastico) failed
12:51:37 T:9244 NOTICE: Thread XBPyThread start, auto delete: false
12:51:37 T:9244 NOTICE: -->Python Interpreter Initialized<--
12:51:38 T:9244 NOTICE: cache:
12:51:38 T:9244 NOTICE: Action: list_rails
12:51:38 T:9244 NOTICE: Params: {'action': 'list_rails', 'path': 'root/jornalismo/rede-globo/fantastico', 'uri': '/rede-globo/fantastico'}
12:51:38 T:8468 NOTICE: Thread Background Loader start, auto delete: false

MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
#9
Wanilton, can you describe your actions (ie, what items/path have you chose) to get the error? Also, is this happening to other items?
Reply
#10
I've just uploaded a new version, improving the regexp to scrape videos.
I noticed some cases in which sections of a show would repeat the videos fetched, even though the title of the section was right.

I'm trying to work out a way to get the videos in higher def. Right now it's streaming the very low def videos for mobiles.

Version 0.3 available here:
https://github.com/vitorhirota/plugin.vi.../downloads

Wanilton, also added some code that should prevent you from having that error message again.

There are a lot of items that are actually a playlist, and in some cases, for some reason it will skip the first item. So, make sure you are watching the right item...
Reply
#11
@vhd90, it´s work fine now, thanks...
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
#12
Thank you so much my wife is going to love me for this Big Grin
Reply
#13
Yes! This is so cool. Got it working for the most part.

A couple thoughts (I'm an XMBC noob, so I apologize):

We subscribe to the site so can watch the Para Assisantes videos. Sometimes they don't work, crashing XBMC. But if I log in on a enough internet browsers and start with a free video, I am able to authenticate somehow and then watch the videos. Any way to build-in an authentication step to watch pay content more fluidly?

Again--I expect nothing. This is just what I've been looking for. Thanks!
Reply
#14
(2012-12-25, 21:00)ls84 Wrote: Any way to build-in an authentication step to watch pay content more fluidly?

Sure, there's a new version on the way supporting authentication.

I will post here once I get it done!
Reply
#15
@vhd90 you rock!! I've been waiting for this for so long! Thank you so so much! Smile
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 10

Logout Mark Read Team Forum Stats Members Help
Globo.tv Addon [Brazilian TV Show producer]3