Ayuda para generacion de enlace directo a pelicula en alfa

javic

Usuario Novato
25 Feb 2022
3
1
1
42
Estoy intentando crear un archivo player para que el addon TMDB Helper enlace con las peliculas del addon alfa. Por lo que he podido averiguar, la llamada a la pelicula en alfa tiene este formato, por ejemplo:

plugin://plugin.video.alfa/?
ewogICAgImFjdGlvbiI6ICJmaW5kdmlkZW9zIiwKICAgICJjaGFubmVsIjogImhkZnVsbCIsCiAgICAiZmFuYXJ0IjogImh0dHBzOi8vaW1hZ2UudG1kYi5vcmcvdC9wL29yaWdpbmFsLzdoekswRDdOR1R5MU1ESmtXTDlJUUtyVG1mcS5qcGciLAogICAgImluZm9MYWJlbHMiOiB7CiAgICAgICAgImZhbmFydCI6ICJodHRwczovL2ltYWdlLnRtZGIub3JnL3QvcC9vcmlnaW5hbC83aHpLMEQ3TkdUeTFNREprV0w5SVFLclRtZnEuanBnIiwKICAgICAgICAiZ2VucmUiOiAiQ29tZWRpYSIsCiAgICAgICAgIm9yaWdpbmFsX2xhbmd1YWdlIjogImVuIiwKICAgICAgICAib3JpZ2luYWx0aXRsZSI6ICJUeWxlciBQZXJyeSdzIEEgTWFkZWEgSG9tZWNvbWluZyIsCiAgICAgICAgInBsb3QiOiAiRWwgcG9saWZhY1x1MDBlOXRpY28gbWFnbmF0ZSBkZSBsb3MgbWVkaW9zIFR5bGVyIFBlcnJ5IHJlY3VwZXJhIGEgc3UgZW50cmFcdTAwZjFhYmxlIHBlcnNvbmFqZSBNYWRlYS4iLAogICAgICAgICJwb3B1bGFyaXR5IjogNDEuNjE2LAogICAgICAgICJyYXRpbmciOiAxMC4wLAogICAgICAgICJyZWxlYXNlX2RhdGUiOiAiMjUvMDIvMjAyMiIsCiAgICAgICAgInRodW1ibmFpbCI6ICJodHRwczovL2ltYWdlLnRtZGIub3JnL3QvcC9vcmlnaW5hbC9lWjJLZlZJR2pCaUNzdzBtVkIwY3Q1WmM2Q3EuanBnIiwKICAgICAgICAidGl0bGUiOiAiRWwgcmVncmVzbyBhIGNhc2EgZGUgTWFkZWEiLAogICAgICAgICJ0bWRiX2lkIjogIjg0NTQwNCIsCiAgICAgICAgInZvdGVzIjogMSwKICAgICAgICAieWVhciI6IDIwMjIKICAgIH0sCiAgICAibGFuZ3VhZ2UiOiBbCiAgICAgICAgIkNBU1QiCiAgICBdLAogICAgInRleHRfYm9sZCI6IHRydWUsCiAgICAidGh1bWJuYWlsIjogImh0dHBzOi8vaW1hZ2UudG1kYi5vcmcvdC9wL29yaWdpbmFsL2VaMktmVklHakJpQ3N3MG1WQjBjdDVaYzZDcS5qcGciLAogICAgInRpdGxlIjogIlR5bGVyIFBlcnJ5J3MgQSBNYWRlYSBIb21lY29taW5nIFtDT0xPUiBkYXJrZ3JleV1bQ0FTVF0gWy9DT0xPUl0iLAogICAgInVybCI6ICJodHRwczovL2hkZnVsbC5saW5rL3BlbGljdWxhL3R5bGVyLXBlcnJ5cy1hLW1hZGVhLWhvbWVjb21pbmcjIyMyODEzNjsyIgp9



Que descodificado de base64 seria:

plugin://plugin.video.alfa/?
{
"action": "findvideos",
"channel": "hdfull",
"fanart": "https://image.tmdb.org/t/p/original/7hzK0D7NGTy1MDJkWL9IQKrTmfq.jpg",
"infoLabels": {
"fanart": "https://image.tmdb.org/t/p/original/7hzK0D7NGTy1MDJkWL9IQKrTmfq.jpg",
"genre": "Comedia",
"original_language": "en",
"originaltitle": "Tyler Perry's A Madea Homecoming",
"plot": "El polifac\u00e9tico magnate de los medios Tyler Perry recupera a su entra\u00f1able personaje Madea.",
"popularity": 41.616,
"rating": 10.0,
"release_date": "25/02/2022",
"thumbnail": "https://image.tmdb.org/t/p/original/eZ2KfVIGjBiCsw0mVB0ct5Zc6Cq.jpg",
"title": "El regreso a casa de Madea",
"tmdb_id": "845404",
"votes": 1,
"year": 2022
},
"language": [
"CAST"
],
"text_bold": true,
"thumbnail": "https://image.tmdb.org/t/p/original/eZ2KfVIGjBiCsw0mVB0ct5Zc6Cq.jpg",
"title": "Tyler Perry's A Madea Homecoming [COLOR darkgrey][CAST] [/COLOR]",
"url": "https://hdfull.link/pelicula/tyler-perrys-a-madea-homecoming###28136;2"
}


Existe alguna forma de poder invocar a cualquier pelicula sin que el addon lo necesite codificado en base64?
La idea es poder enlazar con alfa con peticiones forjadas con expresiones regulares como en este ejemplo:

{
"name" : "[COLOR orange]The Oath[/COLOR]",
"plugin" : "plugin.video.theoath",
"priority" : 500,
"play_movie" : "plugin://plugin.video.theoath/?action=play&title={title_+}&year={year}&imdb={imdb}&meta=%7B%22rating%22%3A+%22%22%2C+%22code%22%3A+%22{imdb}%22%2C+%22tmdb%22%3A+%22{id}%22%2C+%22imdb%22%3A+%22{imdb}%22%2C+%22year%22%3A+%22{year}%22%2C+%22duration%22%3A+%22%22%2C+%22plot%22%3A+%22{plot}%22%2C+%22votes%22%3A+%22%22%2C+%22title%22%3A+%22{title_+}%22%2C+%22fanart%22%3A+%22{fanart}%22%2C+%22tagline%22%3A+%22%22%2C+%22writer%22%3A+%22%22%2C+%22next%22%3A+%22%22%2C+%22poster%22%3A+%22{poster}%22%2C+%22mediatype%22%3A+%22movie%22%2C+%22director%22%3A+%22%22%2C+%22studio%22%3A+%22%22%2C+%22genre%22%3A+%22%22%2C+%22metacache%22%3A+true%2C+%22premiered%22%3A+%22{premiered}%22%2C+%22originaltitle%22%3A+%22{title_+}%22%2C+%22cast%22%3A+%5B%5B%22%22%5D%5D%2C+%22mpaa%22%3A+%22%22%2C+%22trailer%22%3A+%22plugin%3A%2F%2Fplugin.video.theoath%2F%3Faction%3Dtrailer%26name%3D{title_+}%2B%2528{year}%2529%22%7D&t={now}",

}
 
Última edición: