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: MyXBMC HTML Generator: Show others your library with style. - onlyyou - 2013-09-09

Great job
still have an issue to render the html file
TV shows is working great but notinh generated for movies (not even the html...)

Part of the log

Error in generating Movie HTML, Error Message: Le format de la chaîne d'entrée est incorrect.
Trace:
à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
à System.Convert.ToInt32(String value)
à XBMCHtmlGenerator.Form_Main.getResIcon(String width, String height) dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 1973
à XBMCHtmlGenerator.Form_Main.generateMovieHtml() dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 1701
à XBMCHtmlGenerator.Form_Main.htmlGeneratorThread_DoWork(Object sender, DoWorkEventArgs e) dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 4621


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-09

(2013-09-09, 08:47)onlyyou Wrote: Great job
still have an issue to render the html file
TV shows is working great but notinh generated for movies (not even the html...)

Part of the log

Error in generating Movie HTML, Error Message: Le format de la chaîne d'entrée est incorrect.
Trace:
à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
à System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
à System.Convert.ToInt32(String value)
à XBMCHtmlGenerator.Form_Main.getResIcon(String width, String height) dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 1973
à XBMCHtmlGenerator.Form_Main.generateMovieHtml() dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 1701
à XBMCHtmlGenerator.Form_Main.htmlGeneratorThread_DoWork(Object sender, DoWorkEventArgs e) dans c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:ligne 4621

Mh.. time to test my updater?
I will add a update later around 14:00.., then check for updates.


RE: MyXBMC HTML Generator: Show others your library with style. - onlyyou - 2013-09-09

i'll test the updater and the update as soon as i'll be home Wink
(around 18:00 european TZ)
many thanks


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-09

(2013-09-09, 13:40)onlyyou Wrote: i'll test the updater and the update as soon as i'll be home Wink
(around 18:00 european TZ)
many thanks

Thanks, arround the Wednesday, ill release an update... for the updater.. like i said.. first updater i ever made.. so i had to fix a couple issues and added other stuff,


RE: MyXBMC HTML Generator: Show others your library with style. - onlyyou - 2013-09-09

updater -> works fine
update -> perfect / my html is now great, all movies with media quality.
Great job !
(want the log anyway ?)


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-09

(2013-09-09, 18:02)onlyyou Wrote: updater -> works fine
update -> perfect / my html is now great, all movies with media quality.
Great job !
(want the log anyway ?)

Nope, if no problem exists anymore, its all fine.


RE: MyXBMC HTML Generator: Show others your library with style. - khaoohs - 2013-09-09

Hello,

First time attempting to install this application. I'm trying to run it on a Windows Server 2012 x64 instance, but I receive the following error message.

Update: I had to install the "Microsoft Visual C++ 2010 Redistributable Package (x86)" package.


Code:
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. The specified module could not be found.
File name: 'System.Data.SQLite.dll'
   at XBMCHtmlGenerator.DatabaseHandler..ctor(Form_Main parent)
   at XBMCHtmlGenerator.Form_Main.Form_Main_Shown(Object sender, EventArgs e) in c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:line 447
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()



RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-09

(2013-09-09, 20:48)khaoohs Wrote: Hello,

First time attempting to install this application. I'm trying to run it on a Windows Server 2012 x64 instance, but I receive the following error message.

Update: I had to install the "Microsoft Visual C++ 2010 Redistributable Package (x86)" package.


Code:
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. The specified module could not be found.
File name: 'System.Data.SQLite.dll'
   at XBMCHtmlGenerator.DatabaseHandler..ctor(Form_Main parent)
   at XBMCHtmlGenerator.Form_Main.Form_Main_Shown(Object sender, EventArgs e) in c:\Users\Hagen\Documents\myxbmc-html-generator\XBMCManager\Form_Main.cs:line 447
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
Wait what, the error message tells me that the program could not find the Sqlite library, which gets shipped with the installer.
But you fixed it by installing c++2010 redis.. ?

Update: Apparently i used a not statically linked DLL, which PROBABLY caused this.. i am not sure.. but you found the solution anyway..

Update 2: I just had an idea.. why not make a Mobile theme? .. Well thats probably my next big update.. Make it Mobile Device ready (First on HD phones though.. I only got a Galaxy Note2 (With HD resolution))


RE: MyXBMC HTML Generator: Show others your library with style. - booker88 - 2013-09-10

Say, I have tried several runs using that new "sort by title beta" option... and it kind of worked.

Basically it listed all regular movies, then movies starting with "A ", then movie sets (some sets, not all. Several sets appeared earlier in the listings as single movies), then movies starting with "The ", then some more movie sets.

My MyVideos75.db isn't perfect so I'm not sure how much of the strange sorting is due to your implementation, or to erroneous data on my end. Anyways, I will pm you a .zip of the generated .html & .xml so you can see exactly how it's sorting.


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-10

(2013-09-10, 06:16)booker88 Wrote: Say, I have tried several runs using that new "sort by title beta" option... and it kind of worked.

Basically it listed all regular movies, then movies starting with "A ", then movie sets (some sets, not all. Several sets appeared earlier in the listings as single movies), then movies starting with "The ", then some more movie sets.

My MyVideos75.db isn't perfect so I'm not sure how much of the strange sorting is due to your implementation, or to erroneous data on my end. Anyways, I will pm you a .zip of the generated .html & .xml so you can see exactly how it's sorting.

Maybe it helps you when I tell you how it sorts:
First it scans every movie of 2 names, the "Title" and the "SortTitle"
If the sort title does not exist, the normal title will take its place.. so if we sort by sort-title now.. it will sort sometimes by sorttitle and sometimes by title.. since we cant have every sort title.

Did you also try changing the sort order to ascending or descending ?



Update:
I just added the Announced Installer Update

Download: http://dead6.eu/?p=xbmc_html_generator#downloads

Change log:
[Add] Update popups with changelog and messages
[Add] Setting to enable & disable update popups
[Add] Updater: Deleting downloade data
[Fix] Sorting by "Sorttitle" beeing wrong
[Change/Update] Redesign of Settings Dialog
[Change] Updater: Messages now display correctly
[Remove] Updater: Not showing changelog in updater anymore (Only Important messages)

Edit: I am sorry for posting the wrong link. The right link has been added now.


RE: MyXBMC HTML Generator: Show others your library with style. - booker88 - 2013-09-13

(2013-09-10, 15:24)DeadSix27 Wrote: [Fix] Sorting by "Sorttitle" beeing wrong

Works great now on my end. Thanks for the update.


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-13

(2013-09-13, 08:02)booker88 Wrote:
(2013-09-10, 15:24)DeadSix27 Wrote: [Fix] Sorting by "Sorttitle" beeing wrong

Works great now on my end. Thanks for the update.

Really? That's good Smile.. Problem was that it decided to use Sort title on the ones that have a sorttitle and on the others.. it just uses nothing.. so logically it sorts wrong..
Now I made it use the normal title if sort-title isn't available.


Edit:
Any urgent wishes which I should add to the next version?
It will be mainly focused on the UI and making the program easier to use, so I "forget" about other stuff. So if you need something urgently.. tell me!


RE: MyXBMC HTML Generator: Show others your library with style. - Stokstaart - 2013-09-14

Quote:
Edit:
Any urgent wishes which I should add to the next version?
It will be mainly focused on the UI and making the program easier to use, so I "forget" about other stuff. So if you need something urgently.. tell me!

Well, Superprogress on the development!!! The generator is getting more and more mature!!!
i haven't been around here lately and i must say, i'm suprised with all te progress made! (And of course with the long wishd for function of the CLI, now i can update my webpage automaticly wih every start of my HTPC!)

I'll throw out a couple of wishes...
- dynamic sorting on the generated webpage (sorting on imdbrating/genre/date of release/date added)
- Show the genre on the generated webpage/details view
- I like the interface of the generated webpage, still i can imaine some folks would like to be able to change the style (colours, image properties etc) to make it more personal,,,,,

One question tough, i am able to run the generator automated trough th CLI with the /auto argument....Just wondering if there are more agruments to be used/if there's a simple list of arguments and their functions??

Again, really impressed with the progress, keep up the good work!!
*edit typo


RE: MyXBMC HTML Generator: Show others your library with style. - onlyyou - 2013-09-14

On my side,
i saw you've talked just before about a mobile theme of the html result. I think it's a great idea.
Also, as an other theme, a simpler one, with no cover (more like a database) with title, date added, quality, ... would be also lovely
Many thanks for all the work !
Nat


RE: MyXBMC HTML Generator: Show others your library with style. - DeadSix27 - 2013-09-14

(2013-09-14, 11:01)Stokstaart Wrote: - dynamic sorting on the generated webpage
Won't add that.. its kinda impossible with the stuff we have

(2013-09-14, 11:01)Stokstaart Wrote: - Show the genre on the generated webpage/details view
i actually already done that..just have to add and finalize it.

(2013-09-14, 11:01)Stokstaart Wrote: - I like the interface of the generated webpage, still i can imaine some folks would like to be able to change the style (colours, image properties etc) to make it more personal,,,,,
More HTML customisation is part of the update. But i cant extend much, as i do not want to create style generator Smile
On the other hand.. you can just manually edit the .css with a editor or so.

(2013-09-14, 11:01)Stokstaart Wrote: One question tough, i am able to run the generator automated trough th CLI with the /auto argument....Just wondering if there are more agruments to be used/if there's a simple list of arguments and their functions??

Not yet, as i don't know what to add.. tell me examples and ill add them.
(/noposter was planned, so that it skips poster downloading/and displaying them in the HTML, but i thought about making that all profile based later (and for now you only have 1 profile, and that will be used in the CLI)



(2013-09-14, 12:07)onlyyou Wrote: i saw you've talked just before about a mobile theme of the html result. I think it's a great idea.
Yes, thats the plan.. but i didnt begin it yet. It's alot of work.

(2013-09-14, 12:07)onlyyou Wrote: Also, as an other theme, a simpler one, with no cover (more like a database) with title, date added, quality, ... would be also lovely
thats part of the update.



Final Note:
This update COULD take up to 2 weeks.. as I don't have much time and it's a lot to do