MyTorrents (1 Viewer)

fcsobel

Portal Pro
December 4, 2005
127
6
robomonkey, please try latest version:

http://projects.c3o.com/MediaPortal/plugins.zip

I was removing the double quotes before it hit the code above so it had no hope of working. Shold be fixed now. Let us know.

I upped the hight of the text box and added your pngs but MP seems to cache the old pngs. Anyone know how to clear mps cache?
 

idioteque

Retired Team Member
  • Premium Supporter
  • September 29, 2005
    609
    9
    Home Country
    Netherlands Netherlands
    with the latest plugins.

    webgui works in firefox

    2007-01-24 22:26:52.359375 [ERROR][MPMain]: OnMessage exception:confused:ystem.ArgumentException: Input array is longer than the number of columns in this table.
    at System.Data.DataTable.NewRecordFromArray(Object[] value)
    at System.Data.DataRowCollection.Add(Object[] values)
    at c3o.Framework.Web.uTorrentData.TorrentList(String webUiUrl, String webUiLogin, String webUiPassword)
    at MediaPortal.GUI.Rss.GUIuTorrent.ShowDownloads()
    at MediaPortal.GUI.Rss.GUIuTorrent.OnPageLoad()
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    2007-01-24 22:27:26.265625 [ERROR][MPMain]: Exception :Error in the application.
    -2005530520 (D3DERR_DEVICELOST)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)
    2007-01-24 22:27:26.265625 [ERROR][MPMain]: Exception :Error in the application.
    2007-01-24 22:27:26.265625 [ERROR][MPMain]: site :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
    2007-01-24 22:27:26.265625 [ERROR][MPMain]: source :Microsoft.DirectX.Direct3D
    2007-01-24 22:27:26.265625 [ERROR][MPMain]: stacktrace: at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
    at Microsoft.DirectX.Direct3D.Device.Present()
    at MediaPortalApp.Render(Single timePassed)
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    Torrents with commas should be working now.

    lol,
    Just got another error adding the following torrent "Stereophonics - Language, Sex, Violence, Other [2005/MP3/192]"...

    Please post problems here. If necessary you cam fall back to previous version at:

    http://projects.c3o.com/MediaPortal/old/plugins.v5.zip

    Screenshot with new pngs below (thanks to robomonkey). Any other skinners or graphics folks who can make the plugins look better are much appreciated.

    myut.jpg
     

    mr3xcellent

    Portal Member
    January 15, 2007
    12
    0
    Home Country
    United States of America United States of America
    I'm getting the same error now as idioteque2, "array is longer than the number of columns in this table."

    When I do the ?=list thing, I get:

    {'':'','label': [ ] ,'torrents': [ ['8111084E5786C27CD941E11A7DBE93E7543464BB',137,'heroes.112.hdtv-lol[TvT].avi',366997504,1000,0,503488512,1371,7717,9,6091,'',4,135,0,64,129480,-1,0]] ,'torrentc': '1843995458'}

    Here's the whole error (I hope it's useful, otherwise I'm wasting your time. ;)
    ************** Exception Text **************
    System.ArgumentException: Input array is longer than the number of columns in this table.
    at System.Data.DataTable.NewRecordFromArray(Object[] value)
    at System.Data.DataRowCollection.Add(Object[] values)
    at c3o.Framework.Web.uTorrentData.TorrentList(String webUiUrl, String webUiLogin, String webUiPassword)
    at MediaPortal.GUI.Rss.GUIuTorrent.ShowDownloads()
    at MediaPortal.GUI.Rss.GUIuTorrent.ShowDownloads(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     

    fcsobel

    Portal Pro
    December 4, 2005
    127
    6
    The text you got from firefox and the Exception Text is good. I dont need the Loaded Assemblies.

    Wow, your torrent data is all single quotes. The code is looking for double quotes so thats a problem but I can fix it with your example.

    {'':'','label': [ ] ,'torrents': [ ['8111084E5786C27CD941E11A7DBE93E7543464BB',137,'he roes.112.hdtv-lol[TvT].avi',366997504,1000,0,503488512,1371,7717,9,6091, '',4,135,0,64,129480,-1,0]] ,'torrentc': '1843995458'}

    Here is what I get back from the UI on my laptop...notice all the double quotes...strange.

    {"":"","label": [ ] ,"torrents": [ ["7D4C8555E5BF731B71728249307EED2937619110",201,"Language, Sex, Violence, Other",62583599,1000,62976815,0,0,0,0,-1,"",0,3,0,8,65536,-1,0]] ,"torrentc": "1344092852"}

    I'm running ut 1.6.1 beta buld 483. What about you?
     

    mr3xcellent

    Portal Member
    January 15, 2007
    12
    0
    Home Country
    United States of America United States of America
    Ah... I was running Beta 481, webui 300.

    Works perfectly now, after installing biuld 483 and webui 310. Thanks... great work!

    btw, I did run the 'Check for updates' in utorrent before posting anything here, but it said there was not a newer version available; guess it was just looking for a point release.

    Thanks again.
     

    mr3xcellent

    Portal Member
    January 15, 2007
    12
    0
    Home Country
    United States of America United States of America
    Crashes if it has a Label... Once I removed the Labels, everything worked fine.

    {"":"","label": [ ["TV",4] ] ,"torrents": [ ["7B11DB3A26C88D16EAD51D03D606F3DF5D3DB538",201,"family.guy.s05e09.pdtv.xvid-xor.[VTV].avi",184052682,450,82897866,99347402,1198,8309,8364,11160,"TV",46,1339,27,215,2424645,3,101154816], ["8FAB65B59EFF0B64787D89DEE008420EF5863D90",201,"Rome.S02E03.HDTV.XviD-LOL.avi",367026176,164,60186624,66412544,1103,16090,7945,38340,"TV",71,3741,2,69,917316,4,306839552], ["133B765AE018DBB0CDE5E35B48A66DDC83B54DC7",201,"The.Dresden.Files.S01E02.WS.DSR.XviD-ORENJi.avi",365449978,33,11981562,16089088,1342,7351,9307,53669,"",66,1134,6,31,917480,5,353468416], ["ED4A3286BF875144BDB20FDE8F8E25ADEFC8E1B6",200,"Battlestar.Galactica.S03E13.WS.DSR.XviD-ORENJi.avi",364957732,0,0,0,0,0,0,-1,"TV",0,0,0,0,0,6,364957732], ["C45E3755B2D93E22A1ADD37547237B8A15E7BF41",200,"Studio.60.on.the.Sunset.Strip.S01E13.HDTV.XviD-XOR.avi",366990886,0,0,0,0,0,0,-1,"TV",0,0,0,0,0,7,366990886]] ,"torrentc": "1775492234"}

    ************** Exception Text **************
    System.FormatException: Input string was not in a correct format.
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
    at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
    at MediaPortal.GUI.Rss.GUIuTorrent.ShowDownloads()
    at MediaPortal.GUI.Rss.GUIuTorrent.ShowDownloads(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.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