Kodi Community Forum
ClearLOGO - Transparent TV Show Logos (Clear Logo) Concept Thread - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Meta-Data provider and Artwork Packs (https://forum.kodi.tv/forumdisplay.php?fid=71)
--- Thread: ClearLOGO - Transparent TV Show Logos (Clear Logo) Concept Thread (/showthread.php?tid=71954)



- Kode - 2010-06-25

I could always add something in so if they are registered on the site it adds their username in the database, and if it gets approved/denied it sends them an email, but if they haven't registered theres no way to notify them, unless you can think of a way?

*edit* or when an image is denied could have it come up with a text field for the reason and it gets moved to a denied area for a month or something before being deleted (or could do both)


- mcborzu - 2010-06-25

Kode Wrote:*edit* or when an image is denied could have it come up with a text field for the reason and it gets moved to a denied area for a month or something before being deleted (or could do both)

That sounds perfect...It so cool that you know how to do this type of coding, you make it sound like it so easy for you.


- Kode - 2010-06-25

mcborzu Wrote:That sounds perfect...It so cool that you know how to do this type of coding, you make it sound like it so easy for you.

Well I do this kind of thing every day for work, also, i may have made it sound easy, but it will probably take a couple of days to finish all the bits.

So far its:

- API
- Allow upload to established series
- Search by name
- Change name to Logos
- Denied logos goes to denied area for month
- If user is logged in attribute images to their username and send notifications
- Figure out best way for batch downloads
- If request already has a series bring up series overlay

What have i missed?


- mcborzu - 2010-06-25

Sounds perfect!


- Kode - 2010-06-25

ppic: http://www.lockstockmods.net/logos/getlogo.php?id=79488 how is that?


- mcborzu - 2010-06-26

Update 6-25



This SCRIPT will automate the process and match whatever shows you have and downoad the logo.png for you


USE THIS LINK to download one by one



24-76290
30seconds-11446
americasgottalent-79490-2
angelsinamerica-79311
arewethereyet-161491
avezvousdejavu-99061
benhur-156961
beverlyhills90210-74936
boratstelevisionprogramme-80040
brookeknowsbest-82491
capitaineflam-79033
cathouse-75032
davincisinquest-71094
deeperthroat-145631
defcomedyjam-77495
downanddirty-83355
dungeonsanddragons-77129
europornexposed-145621
extremeengineering-72702
factory-82404
forbiddenscience-84708
goldorak-79760
gossipgirl-80547
gspot-81757
hardknocks-82402
hawthorne-95741
horizon-26691
horizon-26691-2
hotincleveland-162071
hulkhoganscelebritychampionshipwrestling-83508
iletaitunefoislespace-81153
iletaitunefoislhomme-79849
intotheuniversewithstephenhawking-159461
jimmykimmellive-71998
keeneddie-70843
kampfer-115991
keeneddie-70843
lalinea-80915
lechevalierdeon-79470
lifeinthefreezer-74373-2
littlemosqueontheprairie-79701
livinglegends-151671
monstersinsideme-101951
myboys-79600
pdiddypresentsthebadboysofcomedy-125521
riseofthevideogame-80877
rossnoblesaustraliantrip-116331
theamazingraceasia-79646
theburiedlife-146021
thecleaner-82492
thegadgetshow-80747
thegruentransfer-82135
themaxx-71839
themightyboosh-74302
theprivatelifeofplants-78993-2
timewarp-82682
topgearaustralia-83234
waterlooraod-80763



I'll probably keep this going until ppic adjusts the script to the new site Kode created...

@Kode
If you want I can put all these new ones in a .zip or just upload them manually


- ppic - 2010-06-26

Kode Wrote:ppic: http://www.lockstockmods.net/logos/getlogo.php?id=79488 how is that?

pretty good thanks Wink

just keep in mind that i can also do : http://www.lockstockmods.net/logos/getlogo.php?id=794

just send a "not found" message, to be more clear Wink


- Kode - 2010-06-26

mcborzu Wrote:@Kode
If you want I can put all these new ones in a .zip or just upload them manually

mcborzu: dont worry about them, they all look perfectly formed, there should be no problems scraping those. I'll try it now.

I'm going to run something to purge all the broken ones i have at the moment, then i'll find out which ones I'm missing and why

ppic: good point, do you want just a text messag of "not found" or a proper 404 Not Found? Either is 5 seconds to implement, so its up to you.


- Kode - 2010-06-26

30seconds-11446 should be 30seconds-114461


- mcborzu - 2010-06-26

Kode Wrote:30seconds-11446 should be 30seconds-114461

Alrighty just fixed...


- Kode - 2010-06-26

i've got a problem atm when im scraping, just trying to fix it at the moment, so if anyone notices any weirdness thats why.

Also mcborzu, does the server the images are currently on support php? if it does i could create a small script to put on your server so when an image is added here it tells the script and the script copys the image from here to yours, so there's always a backup if you want.


- mcborzu - 2010-06-26

I got a pretty good hosting plan and before my hobby became XBMC I set up a pretty good family website but then nobody used it, they still emailed pics and what food to bring to Thanksgiving back and forth, lol...

Short answer yes, no need I'm pretty trusting, as long as you got a good backup in case your site crashes that should be good enough...


- Kode - 2010-06-26

Ok that's cool Smile

i think i've finally got rid of all the bad entries from the database and compiled a list of images that werent scraped into the database for one reason or another, i'll go through them and try to fix, they are:

Code:
Array
(
    [0] => aliennation72358.png [color=red][b]Done[/b][/color] no -
    [1] => americasgottalent-79490-2.png [color=red][b]Done[/b][/color]
    [2] => andromedastrain2008.png [color=red][b]Done[/b][/color] no series id
    [3] => braquo-11845ppic.png [color=red][b]Done[/b][/color] id should be 118451
    [4] => deathnote79481.png [color=red][b]Done[/b][/color] no hyphen
    [5] => eltigretheadventuresofmannyrivera.png [b]no idea what this is supposed to be[/b]
    [6] => funnyordie-14304.png [color=red][b]Done[/b][/color] id should be 143041
    [7] => funnyordiepresents-14304-2.png  [color=red][b]Done[/b][/color] id should be 143041
    [8] => funnyordiepresents-14304-3.png  [color=red][b]Done[/b][/color] id should be 143041
    [9] => ghostadventures-839299-2.png [color=red][b]Done[/b][/color] already in under the correct id 83929
    [10] => ghostadventures-839299.png [color=red][b]Done[/b][/color] id should be 83929
    [11] => ghostintheshellsac73749.png [color=red][b]Done[/b][/color] no hyphen
    [12] => goldorak-79760.png [color=red][b]Done[/b][/color]
    [13] => gossipgirl-80547.png [color=red][b]Done[/b][/color]
    [14] => hayate%20no%20gotoku-89554.png [b]No idea what this is supposed to be, that id doesnt exist[/b]
    [15] => he-manandthemastersoftheuniverse-73014.png [color=red][b]Done[/b][/color] extra hyphen
    [16] => horizon-26691-2.png [color=red][b]Done[/b][/color] id should be 74379
    [17] => horizon-26691.png [color=red][b]Done[/b][/color] id should be 74379
    [18] =>
    [19] => law&orderspecialvictimsunit-75692.png [color=red][b]Done[/b][/color]
    [20] => lifeinthefreezer-74373-2.png [color=red][b]Done[/b][/color]
    [21] => luckylouie.png [color=red][b]Done[/b][/color] No id
    [22] => mk-2284279.png [b]No idea[/b]
    [23] => myhime.png [b]No idea[/b]
    [24] => perfectcouples.png [color=red][b]Done[/b][/color] No id
    [25] => policewomenofbrowardcounty-112161%20.png [color=red][b]Done[/b][/color] space after id
    [26] => rob&big-80193.png [color=red][b]Done[/b][/color] ampersand broke it
    [27] => rosskempmiddleeast-13375.png [color=red][b]Done[/b][/color] id should be 133751
    [28] => sci-fisciencephysicsoftheimpossible-131791.png [color=red][b]Done[/b][/color] extra hyphen
    [29] => scooby-doowhereareyou-78260.png [color=red][b]Done[/b][/color] extra hyphen
    [30] => shera73015-2.png [color=red][b]Done[/b][/color]
    [31] => so-ra-no-wo-to-132771.png [color=red][b]Done[/b][/color] extra hyphens
    [32] => spider-man(1994)-73750.png [color=red][b]Done[/b][/color] extra hyphen
    [33] => starblazers-37701.png [color=red][b]Done[/b][/color] id should be 77773
    [34] => stargatesg-1-72449.png [color=red][b]Done[/b][/color] extra hyphen
    [35] => teenagemutantninjaturtles(1987).png [color=red][b]Done[/b][/color]
    [36] => theA-team-77904.png [color=red][b]Done[/b][/color] extra hyphen
    [37] => theno1ladiesdetectiveag.png [color=red][b]Done[/b][/color] no id
    [38] => thepaulreisershow.png [b]No idea[/b]
    [39] => thepickupartist-109281.png [color=red][b]Done[/b][/color] id should be 80458
    [40] => theprivatelifeofplants-78993-2.png [color=red][b]Done[/b][/color]
    [41] => thesupermariobros.supershow!-74583%20.png [color=red][b]Done[/b][/color]
    [42] => thomasthetankengine&friends-78949.png [color=red][b]Done[/b][/color]
    [43] => threshold-32983.png [color=red][b]Done[/b][/color] id should be 75600
    [44] => thwackers.png [color=red][b]Done[/b][/color] id should be 124681
    [45] => titanmaximum.png [color=red][b]Done[/b][/color] id should be 116421
    [46] => whatsnewscooby-doo-80119.png [color=red][b]Done[/b][/color] extra hyphen
    [47] => will&grace-71814.png [color=red][b]Done[/b][/color] ampersand
    [48] => wolverineandthex-men%20-82870.png [color=red][b]Done[/b][/color] extra hyphen
    [49] => x-menevolution-71168.png [color=red][b]Done[/b][/color] extra hyphen
    [50] => x-mentheanimatedseries-76115.png [color=red][b]Done[/b][/color] extra hyphen
    [51] => xamdlostmemories-82834%20.png [color=red][b]Done[/b][/color] space after series
)



- Kode - 2010-06-26

I've changed it so you can upload images to already established series and they show up in the requests as pending, just need to think how to flag an already established one into requests without uploading an image


- Kode - 2010-06-26

is someone else uploading to funny or die at the same time as me?


This forum uses Lukasz Tkacz MyBB addons.