home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents 0.70 Stable [Updated 13-10-2012]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="emphatic" data-source="post: 396672" data-attributes="member: 24365"><p>[CODE]</p><p>2009-03-26 14:44:41.460875 [Info.][MPMain]: Error initializing window:Sohvaperuna.MyTorrents.MyTorrents </p><p>Could not find file 'C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\MyTorrents.xml'. </p><p>mscorlib at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)</p><p> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, </p><p>FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)</p><p> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)</p><p> at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)</p><p> at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)</p><p> at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)</p><p> at System.Threading.CompressedStack.runTryCode(Object userData)</p><p> at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup</p><p>(TryCode code, CleanupCode backoutCode, Object userData)</p><p> at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)</p><p> at System.Xml.XmlTextReaderImpl.OpenUrl()</p><p> at System.Xml.XmlTextReaderImpl.Read()</p><p> at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)</p><p> at System.Xml.XmlDocument.Load(XmlReader reader)</p><p> at System.Xml.XmlDocument.Load(String filename)</p><p> at Sohvaperuna.MyTorrents.MyTorrents.Init()</p><p> at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)</p><p>[/CODE]</p><p></p><p>I'm really sorry, but it's obvious to me now that I've put the MyTorrents.xml file in the wrong place. I had it in my "Program Files\Team MediaPortal\MediaPortal" folder instead of in the "Application Data\Team MediaPortal\MediaPortal". It works now. Perhaps you should put the whole path in your readme for n00bs. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p><strong>EDIT: </strong></p><p><strong></strong></p><p>Now that I've got it to work, is it possible to have some sort of hirearchy for the icon display? If you have two icons triggered by the same torrent name (hdtv + xvid) none of these two icons are shown at all. It would be nice if the plugin could show the first one in the <map>-list and ignore the other one.</p><p></p><p>[CODE]</p><p><map><key>divx</key><icon>Logos\divx.png</icon></map> [B]Codec is more interesting, these should have priority</p><p>[/B]<map><key>xvid</key><icon>Logos\xvid.png</icon></map></p><p><map><key>mkv</key><icon>Logos\H264.png</icon></map></p><p><map><key>hdtv</key><icon>Logos\hdtv.png</icon></map> [B]This one will ONLY show up if there's no codec named in the torrent name[/B]</p><p>[/CODE]</p><p></p><p>Thanks</p><p>Emph</p></blockquote><p></p>
[QUOTE="emphatic, post: 396672, member: 24365"] [CODE] 2009-03-26 14:44:41.460875 [Info.][MPMain]: Error initializing window:Sohvaperuna.MyTorrents.MyTorrents Could not find file 'C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\MyTorrents.xml'. mscorlib at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup (TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at Sohvaperuna.MyTorrents.MyTorrents.Init() at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile) [/CODE] I'm really sorry, but it's obvious to me now that I've put the MyTorrents.xml file in the wrong place. I had it in my "Program Files\Team MediaPortal\MediaPortal" folder instead of in the "Application Data\Team MediaPortal\MediaPortal". It works now. Perhaps you should put the whole path in your readme for n00bs. :D [B]EDIT: [/B] Now that I've got it to work, is it possible to have some sort of hirearchy for the icon display? If you have two icons triggered by the same torrent name (hdtv + xvid) none of these two icons are shown at all. It would be nice if the plugin could show the first one in the <map>-list and ignore the other one. [CODE] <map><key>divx</key><icon>Logos\divx.png</icon></map> [B]Codec is more interesting, these should have priority [/B]<map><key>xvid</key><icon>Logos\xvid.png</icon></map> <map><key>mkv</key><icon>Logos\H264.png</icon></map> <map><key>hdtv</key><icon>Logos\hdtv.png</icon></map> [B]This one will ONLY show up if there's no codec named in the torrent name[/B] [/CODE] Thanks Emph [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MyTorrents 0.70 Stable [Updated 13-10-2012]
Contact us
RSS
Top
Bottom