Página 1 de 4
Problem with Cineblog01
Publicado: 07 Abr 2011, 10:04
por gianni21
Hi guys, thanks for your work, your plugin is really useful!
I have just a little problem with the italian source Cineblog01.
Why does your plugin show just the first page of each category?
If you surf the cineblog01 website, for each category, there are hundreds of pages, instead the plugin stops itself at the first page.
Also for the alphabetical categories, it shows just the first 12 movies.
It's really a pity don't exploit the entire source.
Many thanks.
PS: I'm using pelisalacarta 3.0.1
Re: Problem with Cineblog01
Publicado: 08 Abr 2011, 20:52
por jesus
Thank you for reporting the fail, gianni21.
I take note and fix it as soon as i can. Its author send me an updated version a few days ago...
Re: Problem with Cineblog01
Publicado: 09 Abr 2011, 11:58
por gianni21
Hi jesus, i've found some code lines in Cineblog01.py,
maybe modifying something we could get rid of this issue.
The comment "Remove the next page mark" it's something of weird especially if we are looking for something to surf through pages.
Código: Seleccionar todo
# Remove the next page mark
patronvideos = '<a href="(http://cineblog01.com/film/category/numero/page/[0-9]+)">Avanti >'
matches = re.compile (patronvideos, re.DOTALL). findall (data)
scrapertools.printMatches (matches)
if len(matches)>0:
scrapedtitle = "Pagina seguente"
scrapedurl = matches[0]
scrapedthumbnail = ""
scrapedplot = ""
if (DEBUG):
xbmc.output("scrapedtitle="+scrapedtitle)
xbmc.output("scrapedurl="+scrapedurl)
xbmc.output("scrapedthumbnail="+scrapedthumbnail)
xbmctools.addnewfolder( CHANNELNAME , "listcat" , category , scrapedtitle , scrapedurl , scrapedthumbnail, scrapedplot )
Re: Problem with Cineblog01
Publicado: 10 Abr 2011, 20:16
por gianni21
Guys, good news!
I've solved the problem regarding the "Next page issue".
Now the file Cineblog.py is fixed to exploit the entire "Nuovi Film" and Alphabetical Categories.
We still have problems with "Anime" and "Serie TV", the links have been changed and i think that the old function cannot handle the new web pages.
If i will have some spare time, i can try to get the rid of.
Instructions (for AppleTv XBMC): Go to path (SFTP) --> /private/var/mobile/Library/Preferences/XBMC/addons/pelisalacarta/pelisalacarta/channels/
- Delete the files: Cineblog01.py and Cineblog01.pyc
- Decompress the file CineBlog01.py.zip and Copy the new Cineblog01.py in the same location.
FOR THE OTHER PLATFORMS: look for the file "Cineblog01.py" (maybe it's located in another path) and go ahead with the same procedure.
Enjoy
----For Italian Users----
Risolto il problema riguardante pelisalacarta e Cineblog01.
Non era possibile navigare attraverso le sezioni "Nuovi film" e "Lista film in ordine alfabetico",
visto che non compariva la voce "Pagina successiva".
Istruzioni (per Apple TV xbmc): Aprire il percorso (SFTP) --> /private/var/mobile/Library/Preferences/XBMC/addons/pelisalacarta/pelisalacarta/channels/
- Cancellare i file: Cineblog01.py e Cineblog01.pyc
- Decomprimere il file CineBlog01.py.zip e Copiare il nuovo file Cineblog01.py nella stessa posizione.
PER LE ALTRE PIATTAFORME: cercare il file Cineblog01.py (probabilmente si trova sotto un'altra directory) e andate avanti con la stessa procedura.
Divertitevi!
Re: Problem with Cineblog01
Publicado: 11 Abr 2011, 23:55
por jesus
Thanks for the update!
I have uploaded it on the SVN, so everyone will receive the update with automatic channel updates enabled.
Re: Problem with Cineblog01
Publicado: 12 Abr 2011, 11:55
por gianni21
Cool, it's really nice to hear.
I hope to help you again in the future.
Re: Problem with Cineblog01
Publicado: 13 Abr 2011, 10:00
por gpdl67
Sorry guys,
there is another error in the Cineblog01 plugin for the sections ANIME e SERIE.
The right links are:
SERIES:
http://www.cineblog01.info/serietv/
ANIME:
http://www.cineblog01.info/anime/
Thank you for your wonderful job.
Gpdl
Re: Problem with Cineblog01
Publicado: 13 Abr 2011, 11:34
por gianni21
Ciao Gpd,
as you can read above the problem was already known.
What you said it's right, the links are wrong...
and i have left them wrong because the function that handles the categories, doesn't work with the new links (.info) causing a plugin crash.
When i'll have some spare time, i'll try to investigate on hoping to solve it.
Giovanni.
Re: Problem with Cineblog01
Publicado: 13 Abr 2011, 11:58
por gpdl67
Ok Giovanni, grazie e scusa se non ho letto con più attenzione.
Spero tu possa presto trovare una soluzione al problema perchè il plugin è davvero eccezionale.
Un'ultima domanda: sarebbe ipotizzabile aggiungere altri blog di film in italiano? Ho notato che ormai ce ne sono parecchi...
Grazie ancora.
Gpd
Re: Problem with Cineblog01
Publicado: 13 Abr 2011, 13:00
por gianni21
Here it is!
A new update that fixes the issues related to Anime and SerieTV categories.
The manual procedure is always the same, delete the old CineBlog01.py and CineBlog01.pyc and upload the new one through SFTP (Filezilla Client can help you)
Hoping that Jesus add it as soon as possisble on svn.
I have written a new function that handles these two categories.
Have fun!
@Gpd
Yes, it's possible you can suggest to Jesus to add new Italian Sources