Page 1 of 1

Fixing Revision3 Plugin By Stacked

Posted: Wed Jun 19, 2013 8:27 pm
by iCON1431
Hi,

Ive managed to update the Revision3 plugin by Stacked version1.06. I think this was the last working one for the xbox, probably wrong LOL

But I need some advice or some kind person to help with adding it to the repository. I dont know how to do this :)

I have also added in 2 extra features.

Network Shows and Archived Shows.

These both work well however I still need to work out how to remove duplicate shows from the archive list. I could only scrape the shows from each of the categories, so there are 119 or so total entries for the 58 shows so some dupes.

Any advice on how to make the list unique would be appreciated I already tried the sorted and list methods but there is a typo on the web page so I end up with one show duped still and it crashes my test script.

Hope this is useful for you all :)

iCON

Re: Fixing Revision3 Plugin By Stacked

Posted: Thu Jun 20, 2013 8:13 am
by skatulskijean
iCON1431 wrote:Hi,

Ive managed to update the Revision3 plugin by Stacked version1.06. I think this was the last working one for the xbox, probably wrong LOL

But I need some advice or some kind person to help with adding it to the repository. I dont know how to do this :)

I have also added in 2 extra features.

Network Shows and Archived Shows.

These both work well however I still need to work out how to remove duplicate shows from the archive list. I could only scrape the shows from each of the categories, so there are 119 or so total entries for the 58 shows so some dupes.

Any advice on how to make the list unique would be appreciated I already tried the sorted and list methods but there is a typo on the web page so I end up with one show duped still and it crashes my test script.

Hope this is useful for you all :)

iCON
Hi nice to see one man more what will change main-xbmc code to working on xbmc4xbox to !
pleace give me alink to a download and i look what is wrong!

Regards Jan

Re: Fixing Revision3 Plugin By Stacked

Posted: Thu Jun 20, 2013 1:40 pm
by iCON1431
Hi Jan,

Thanks for the help. Its my first attempt at python and plugins. So bit of a noob :)

I was just looking at your Stream All This plugin last night and its very nice :)

Ive put my full xbox package here
https://docs.google.com/file/d/0B8Zet2t ... sp=sharing

Its based on Stacked`s V1.06 and doesnt try to remove the duplicates from Archived Shows.

I wrote some test code in Python to try remove dupes etc. This is here
http://pastebin.com/4mj3Hc8B

The code separates the variables name_url, name, image, plot with regex
So I tried to remove duplicates using this code for each item
plot2 = sorted(set(plot),key=plot.index)

This worked well but the plot entry for Snappy Apps had extra spaces on one of its entries.
' Snappy App News '
'Snappy App News'
So I eneded up with 57 entries for name_url, name, image and 58 for plot

So I thought combine all the variables into one 2d array and then sort on the 1st variable ie name_url this would eliminate the plot entry problem
But I`m stuck on how to seaparate the variables or use the 2d array with the listitem command.

Thanks
iCON

Re: Fixing Revision3 Plugin By Stacked

Posted: Sun Jun 23, 2013 12:49 pm
by captainsensation
this works for me, i am able to stream death battle now!

Re: Fixing Revision3 Plugin By Stacked

Posted: Mon Jun 24, 2013 7:52 pm
by iCON1431
Great glad someone is getting some use out of it:)

Re: Fixing Revision3 Plugin By Stacked

Posted: Wed Jun 26, 2013 10:16 am
by iCON1431
Hi Jan,

Did you have chance to look at the python code snippet on pastebin ? I would love to hear your thoughts on how to fix it :)

Thnks
iCON