Kodi Community Forum
Win HTML Creator for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Win HTML Creator for Kodi (/showthread.php?tid=160863)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-08

(2013-05-08, 18:34)ConfusedTA Wrote: As soon as I hit "Scrape Library (MySQL)" the following pops up:

oops, download this: http://Dead6.eu/files/xbmchtml_debug_6341.zip


RE: HTML Generator: Show off your library with style to your friends or the world. - ConfusedTA - 2013-05-08

We're looking better Smile

http://pastebin.com/XPLUvuVY

There's a couple of errors starting at about line 1440, and another at line 1538.


But - at http://confused.uk.to:8888/xbmchtml/ we've got a movies page, and it's also showing number of episodes, media quality info etc Smile

Really getting close now Smile


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-08

(2013-05-08, 18:57)ConfusedTA Wrote: We're looking better Smile

http://pastebin.com/XPLUvuVY

There's a couple of errors starting at about line 1440, and another at line 1538.


But - at http://confused.uk.to:8888/xbmchtml/ we've got a movies page, and it's also showing number of episodes, media quality info etc Smile

Really getting close now Smile

Let's see, also.. use my paste: http://dead6.eu/paste/ for debug logs.

Edit: There you go: http://dead6.eu/files/xbmchtml_debug_6342.zip


RE: HTML Generator: Show off your library with style to your friends or the world. - isamu.dragon - 2013-05-09

(2013-05-08, 18:58)DeadSix27 Wrote:
(2013-05-08, 18:57)ConfusedTA Wrote: We're looking better Smile

http://pastebin.com/XPLUvuVY

There's a couple of errors starting at about line 1440, and another at line 1538.


But - at http://confused.uk.to:8888/xbmchtml/ we've got a movies page, and it's also showing number of episodes, media quality info etc Smile

Really getting close now Smile

Let's see, also.. use my paste: http://dead6.eu/paste/ for debug logs.

Edit: There you go: http://dead6.eu/files/xbmchtml_debug_6342.zip

works great on my MySQL setup, Thanks, now I can send a list of my movies to friends, and have all the data included.


RE: HTML Generator: Show off your library with style to your friends or the world. - ConfusedTA - 2013-05-09

Still the same error regarding finding a trailer for Ashes To Ashes, but other than that, it all looks good Smile


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-09

(2013-05-09, 09:40)ConfusedTA Wrote: Still the same error regarding finding a trailer for Ashes To Ashes, but other than that, it all looks good Smile
What error?
Also, working on optimizing the code and then ill release it.


RE: HTML Generator: Show off your library with style to your friends or the world. - ConfusedTA - 2013-05-09

This one Smile

Quote:------------
Error Getting Trailer: 'Ashes to Ashes' Can not add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject.
Trace:
at Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object content, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JContainer.Add(Object content)
at Newtonsoft.Json.Linq.JTokenWriter.AddValue(JValue value, JsonToken token)
at Newtonsoft.Json.Linq.JTokenWriter.WriteNull()
at Newtonsoft.Json.JsonWriter.AutoCompleteClose(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.WriteEndObject()
at Newtonsoft.Json.JsonWriter.WriteEnd(JsonContainerType type)
at Newtonsoft.Json.JsonWriter.WriteEnd()
at Newtonsoft.Json.JsonWriter.AutoCompleteAll()
at Newtonsoft.Json.Linq.JTokenWriter.Close()
at Newtonsoft.Json.JsonWriter.System.IDisposable.Dispose()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader reader)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value)
at XBMCHtmlGenerator.DatabaseHandler.FindAddTrailer(Int32 vID, Int32 type, String search, String append) in c:\Users\Hagen\Documents\Visual Studio 2012\Projects\XBMCManager\XBMCManager\Form_Main.cs:line 5285
------------

That's all that comes up in the Debug as an error - and, the only item that doesn't have a trailer Smile


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-09

Hm I can't find the problem yet.. but i'm already working on releasing the next version.


RE: HTML Generator: Show off your library with style to your friends or the world. - ConfusedTA - 2013-05-09

I've manually added the YouTube ID for the Ashes To Ashes trailer, and it's saved/regenerated the HTML output OK - I'm assuming that so long as I don't clear the retrieved data, I won't need to do this again anyway Smile

Looking forward to being able to set this up to automate Smile


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-09

(2013-05-09, 15:50)ConfusedTA Wrote: I've manually added the YouTube ID for the Ashes To Ashes trailer, and it's saved/regenerated the HTML output OK - I'm assuming that so long as I don't clear the retrieved data, I won't need to do this again anyway Smile

Looking forward to being able to set this up to automate Smile

What do you mean automatic? As soon you edit it manually, it stays in the database and doesnt have to be refetched anymore (as long title of show doesnt change) (or show ID.. i forgot by what i sort the trailers)


RE: HTML Generator: Show off your library with style to your friends or the world. - ConfusedTA - 2013-05-09

I mean the automatic updating of the HTML output on a schedule Smile


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-09

(2013-05-09, 23:08)ConfusedTA Wrote: I mean the automatic updating of the HTML output on a schedule Smile

Oh right, i forgot the MySQL Automation lol.


RE: HTML Generator: Show off your library with style to your friends or the world. - kiromatis - 2013-05-10

Hey!
I just want to say that this tool is absolutely awesome !

two suggestions (maybe it is not possible):
- search bar (is this possible with "pure" html?
- a more detailed tv shows view (for example an episode list)

keep on the good work Smile

regards
kiromatis


RE: HTML Generator: Show off your library with style to your friends or the world. - DeadSix27 - 2013-05-10

(2013-05-10, 00:45)kiromatis Wrote: - search bar (is this possible with "pure" html?
Thought about this too, theres probably a javascript way i can use to do that, so maybe ill add it soon.
(2013-05-10, 00:45)kiromatis Wrote: - a more detailed tv shows view (for example an episode list)
Actually thats what im working on right now Smile.. it will come in next version.


RE: HTML Generator: Show off your library with style to your friends or the world. - kiromatis - 2013-05-10

hehe. perfect Rofl
thank you in advance.