Moving-Pictures Movie List to HTML (2 Viewers)

bushbrother

Portal Pro
February 14, 2008
192
15
UK
Home Country
United Kingdom United Kingdom
Re: AW: Moving-Pictures Movie List to HTML

if it doesn't work, I can send you my files.

Nope, still no joy, the page does not fully load like others have posted, and thus the .js files are not fully loaded to carry out the search. Are you sure its not a bug, a couple of posts above it is also mentioned.

EDIT: Maybe I need to re-run the export now I have changed the files ... will try later ...
 

BuzzD

Portal Pro
April 3, 2008
96
3
Home Country
Germany Germany
AW: Moving-Pictures Movie List to HTML

all i can say is that it fully loads my page and i can search for titles
 

Addow

MP Donator
  • Premium Supporter
  • October 5, 2008
    59
    35
    Belgium
    Home Country
    Belgium Belgium
    Re: AW: Moving-Pictures Movie List to HTML

    if it doesn't work, I can send you my files.

    Nope, still no joy, the page does not fully load like others have posted, and thus the .js files are not fully loaded to carry out the search. Are you sure its not a bug, a couple of posts above it is also mentioned.

    EDIT: Maybe I need to re-run the export now I have changed the files ... will try later ...
    If you export the list locally there will probably be no problem. There is however a bug in the FTP upload and some users complained about not uploading the full list, but only partially. That is also the reason why the search function is not working. The search function is initialized at the bottom of the HTML page.

    People, who want to fix the bug manually, here is a small workaround:

    1. Make sure your HTML export page has this contents at the end of the page (last movie detailed are included, you do not have to copy/paste that part :p)

    Code:
    <tr class="movieRow" id="700"> 
                  <td class="movieTitle"><a target="blank" href="http://www.imdb.com/title/tt0389557">Zwartboek</a></td> 
                  <td class="movieYear">2006</td> 
                  <td class="movieGenres">|Drama|Thriller|War|</td> 
                  <td class="movieScore">7.3</td> 
                  <td class="movieCodec">XVID</td> 
                  <td class="movieResolution">SD</td> 
                  <td class="movieLength">145</td> 
                </tr> 
              </table> 
            </div> 
            <div id="main-botborder"></div> 
          </div> 
        </div><script type="text/javascript"> 
    		var myTable = new sortableTable('sortedTable', {
    			overCls: 'over', onClick: function(){alert(this.id)}, sortOn: '-1'
    		});
    	</script></body> 
    </html>

    2. Good luck with this!


    @ppeterr:
    I don't know if it's interesting. I work at the Neurosurgery department at University Hospital and we are doing some high-tech research with unique hardware and lots of software (which I have to write). This week our first patient is included, so lots of stress and overwork :p Also my first brain operation ever, so lots of emotions and excitement involved :)

    I started developing a spin-off plugin of MovingPicturesXML last weekend, but it will take time (as you already know) before the first beta will be released. I hope to fix the last bugs this week, so I keep you guys happy :)

    :D for the support!
     

    BuzzD

    Portal Pro
    April 3, 2008
    96
    3
    Home Country
    Germany Germany
    AW: Re: AW: Moving-Pictures Movie List to HTML

    If you export the list locally there will probably be no problem. There is however a bug in the FTP upload and some users complained about not uploading the full list, but only partially. That is also the reason why the search function is not working. The search function is initialized at the bottom of the HTML page.

    Ah, that's why. Since my server is in my network, i just copy the file onto the network-share.
    So no ftp involved...
     

    bushbrother

    Portal Pro
    February 14, 2008
    192
    15
    UK
    Home Country
    United Kingdom United Kingdom
    Re: AW: Moving-Pictures Movie List to HTML

    People, who want to fix the bug manually, here is a small workaround:

    Yup, that works, as a temporary fix I will map my webserver location as a network drive on the HTPC, then use "local" mode to export to that location, thus removing the FTP :) THANKS!
     

    Addow

    MP Donator
  • Premium Supporter
  • October 5, 2008
    59
    35
    Belgium
    Home Country
    Belgium Belgium
    Hi every1,

    As promised I looked into the FTP bug causing incomplete file uploads and defective movie search. Found the problem and fixed it. I have also created a DETAILS markup file, with a tooltip rollover effect which displays the local file path to all movie files as requested by ppeterr. People who do now want this, can always use the default XML style sheet called "styles.xsl" instead of "styled_detailed.xsl"


    Download MovingPicturesXML 1.1.1
    As always you'll find the latest version on the Google Project page or in my signature, but I am making it easy for you, by attaching the links to this post. I recommend you to download the FULL zip package instead of the DLL ONLY package when you are planning to use the included XSL markup files. If you have your own markup, the DLL ONLY version will do fine.

    Download MovingPicturesXML 1.1.1 - MovieList markup files (javascript, img, css) included in package
    Download MovingPicturesXML 1.1.1 - Process plugin DLL only


    Preview MovingPicturesXML 1.1.1
    If you do now know what we are talking about, you can find a preview of the output here.

    Version 1.1.1 (Released: 2010/02/14)
    - Feature: tooltip displaying absolute paths to local movie files on rollover hard disk icon
    - Bug fixed: incomplete FTP upload of XML/HTML file.
    - Bug fixed: multiple files for 1 movie are merged in FULLPATH tag in generated XML instead of distinct selection
    - Bug fixed: javascript parsing of html entities in sexy tooltip[/quote]


    Since some people not always find their way through the installation procedure, here is a step-by-step guide:
    DETAILED INSTALLATION INSTRUCTIONS

    1. Download the full ZIP archive containing 2 folders from the Google Project page.

    2. Extract the "movingpicturesxml" folder, which contains the XML markup files, javascript files, etc.
    to the output directory where you want your list to be, for example "Desktop".

    3. Extract the "process" folder to your MediaPortal plugins folder and overwrite contents if asked,
    or extract the plugin DLL itself from the process folder in the archive to the process folder in
    your MediaPortal plugins directory.

    4. Load MediaPortal Configuration and enable MovingPicturesXML, which is located under the "process" section

    5. When step 4 is finished, manually configure the plugin, which pops up its own window.

    6. Configuration options:
    - Check "Save to file", and point the directory below this field to the output folder you created in Step 2.
    By default the output file name should be "Moving-Pictures.html".
    - Check "Make Stats Node", "Make Movie List" and "Customize MovieListXML"
    - Select DEFAULT customized items in the customized export list.
    - Check "Transform XML with XSL" and point to the XSL file extracted in Step 2.

    7. Submit by clicking "Manual Export" to test if the html file is created. You can test it by opening it in
    IE, Firefox, Opera or Chrome or by pointing the url in your browser to the local HTML file.


    This plugin uses javascript code, developed by other people released under MIT License, so here is a list of people who I would like thank:
    SPECIAL THANKS AND CREDITS TO:
    - Samuel Birch (SortableTable v1.4) - phatfusion : sortableTable
    - Eduardo D. Sada (Sexy Tooltip javascript v1.1 for Mootools) - » Sexy ToolTips
    - Alexander Moore (Nuove LGPL icon set) - famfamfam.com: Home
    - MooTools Developers (MooTools v1.2.3) - MooTools - a compact javascript framework
     

    bushbrother

    Portal Pro
    February 14, 2008
    192
    15
    UK
    Home Country
    United Kingdom United Kingdom
    Just tried the new version, I get an error when doing an export both to FTP and also just to file ...

    Code:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at MovingPicturesXML.MovingPicturesXML.MakeXMLMovieList(XmlDocument xDoc, XmlElement xElemRoot)
       at MovingPicturesXML.MovingPicturesXML.MakeXML()
       at MovingPicturesXML.SetupForm.btnForceExport_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     

    Users who are viewing this thread

    Top Bottom