Página 1 de 1
Need informations regarding channels update system
Publicado: 19 Ago 2015, 20:28
por zanzibar1982
Hola,
as me and other people are developing channels for italian sites
(available on github here
https://github.com/dentaku65/pelisalacartait )
there is an issue regarding auto-update service.
Infact if users do not disabe auto-update before accessing pelisalacarta, they end up having
filmpertutti, filmsenzalimiti and italiafilm.co channels broken by an old update.
I hope I am not asking something stupid, but
I wonder if there is a way to set the auto-update off by default for these channels, or
if it is possible to re-link the updates to the github repos where they are developed.
Thanks in advance for your time and support!
Re: Need informations regarding channels update system
Publicado: 21 Ago 2015, 13:26
por jesus
I suggested something for this in other thread, so let me detail it a bit more to explain how i am thinking in changing this.
1) Channels will go out of the static list in channelselector: There are a few solutions around for this in some forks, main idea is to take data from the files found in the channels folder so pelisalacarta can load channels dinamically. I just wanted to wait to new 4.0 release for changing this, users will be more comprensive if we broke something in a new branch and not in the current one.
2) Channels will auto-update from different urls: Now the channel update is verified from the source Google Code URL, but this will change so the channel URL is part of the channel XML file. This way authors can distribute his own channels outside pelisalacarta, or even add them in pelisalacarta but maintain them separate.
3) Channels can be added from an external URL: Something like giving pelisalacarta the URL of a python channel file or even a github project to take all the channels included here.
Not sure if same will apply for server connectors, as they are used in a different way in pelisalacarta and auto-update is difficult. Maybe best for connectors is to add them in pelisalacarta main branch, but still need to think about it.
Re: Need informations regarding channels update system
Publicado: 21 Ago 2015, 13:42
por zanzibar1982
Thank you for replying, Jesus.
Regarding channels update, the main solution is perfect IMO,
but I know we'll be explaining the procedure to get new channels
to a lot of people, a lot of times and in more than one language.
In my experience, most users wants to install the zip and go,
so I guess the add-on should have a self-updating channelselector
along with new channels availability or updates for existent ones.
I don't know if I am clear enough.
Regarding servers, my two cents:
as I don't see them changing that much as the websites do, and difficulties to auto-update them,
can't we arrange a pack every once in a while, and push like an rss feed to users in pelisalacarta
to warn them of servers updates? So that they could take a moment to do it manually,
to download a .zip file from github and install it into kodi or paste into add-on folder.
Re: Need informations regarding channels update system
Publicado: 21 Ago 2015, 14:00
por jesus
Solution for servers is simple, if plugin is updated weekly as i plan we only need to make them updated on Github.
An alternative is to check for updates of servers separate from other parts of the plugin, as you say, because we can't check them individually. I want to think a bit more about best way, but will probably be a mix of the two.
About channels, idea is to give the most options.
You can think in two distributions of pelisalacarta, the one i do and another one with italian channels. We both can distribute a zip file with all channels we want inside the zip, something like it works now but without the need to change anything on channelselector. You need to explain little.
But users can opt to add new channels, one by one or in "packages", using the github urls where they are located.
This way i can, for example, exclude adult channels from the main distribution. Or make "packages" with channels by language, or things like that.
And if someone makes a channel for a private site, can distribute it to their users without publishing anything.