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
Development
Improvement Suggestions
launch on startup option play music or movies
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="ckpw" data-source="post: 254842" data-attributes="member: 65966"><p>I downloaded the 0.2.3 version from the homepage (after realizing that the computer I wanted to test the plugin with had a very old version [0.2.2])</p><p></p><p>I extracted the following from the logfile:</p><p>2008-04-12 18:15:32.671875 [Info.][MPMain]: Main: Running</p><p>2008-04-12 18:15:32.671875 [Info.][MPMain]: Main: Starting up</p><p>2008-04-12 18:15:32.671875 [Info.][MPMain]: PlugInManager.Load()</p><p>2008-04-12 18:15:32.671875 [Info.][MPMain]: Load plugins from : C:\Programme\Team MediaPortal 0.2.3\Plugins\process\PlayOnStart.dll</p><p>2008-04-12 18:15:32.687500 [Info.][MPMain]: Assembly Version : 1.4.2.0</p><p>...</p><p>2008-04-12 18:15:32.734375 [Info.][MPMain]: PlugInManager.Start()</p><p>2008-04-12 18:15:32.734375 [Info.][MPMain]: PlayOnStart: Start</p><p>2008-04-12 18:15:32.734375 [Info.][MPMain]: PlayOnStart: Play F:\1.mp3</p><p>2008-04-12 18:15:32.765625 [Info.][MPMain]: g_Player.Play(F:\1.mp3)</p><p>2008-04-12 18:15:32.765625 [Info.][6]: Command<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />top radio</p><p>2008-04-12 18:15:32.765625 [Info.][6]: Commandprocessor: MediaPortal.TV.Recording.StopRadioCommand failed reason: No tuner cards installed time: 0 msec</p><p>...</p><p>2008-04-12 18:15:32.812500 [Info.][MPMain]: Unable to start plugin:MediaPortal.Plugins.PlayOnStart exception<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.NullReferenceException: Object reference not set to an instance of an object.</p><p> at MediaPortal.Player.PlayerFactory.Create(String fileName)</p><p> at MediaPortal.Player.g_Player.Play(String strFile)</p><p> at MediaPortal.Plugins.PlayOnStart.PlayFile(String fileName) in F:\MediaPortal Development\Plugins\PlayOnStart\PlayOnStart.cs:line 151</p><p> at MediaPortal.Plugins.PlayOnStart.Start() in F:\MediaPortal Development\Plugins\PlayOnStart\PlayOnStart.cs:line 36</p><p> at MediaPortal.GUI.Library.PluginManager.Start()</p><p>...</p><p>2008-04-12 18:15:43.375000 [Info.][MPMain]: PlugInManager.Stop()</p><p>2008-04-12 18:15:43.375000 [Info.][MPMain]: PluginManager: stopping MediaPortal.Plugins.PlayOnStart</p><p>2008-04-12 18:15:43.375000 [Info.][MPMain]: PlayOnStart: Stop</p><p></p><p>Seems like a wrong directory reference to me? "F:\MediaPortal Development\Plugins" is not correct for my installtion, should be rather "C:\Programme\Team MediaPortal 0.2.3\Plugins"</p><p></p><p>Another quick remark: Would it be possible to give a directory instead of a filename that is autoplayed? I.e. Media Portal picks a random file from a given directory and puts all other files in that directory in random order in a queue?</p></blockquote><p></p>
[QUOTE="ckpw, post: 254842, member: 65966"] I downloaded the 0.2.3 version from the homepage (after realizing that the computer I wanted to test the plugin with had a very old version [0.2.2]) I extracted the following from the logfile: 2008-04-12 18:15:32.671875 [Info.][MPMain]: Main: Running 2008-04-12 18:15:32.671875 [Info.][MPMain]: Main: Starting up 2008-04-12 18:15:32.671875 [Info.][MPMain]: PlugInManager.Load() 2008-04-12 18:15:32.671875 [Info.][MPMain]: Load plugins from : C:\Programme\Team MediaPortal 0.2.3\Plugins\process\PlayOnStart.dll 2008-04-12 18:15:32.687500 [Info.][MPMain]: Assembly Version : 1.4.2.0 ... 2008-04-12 18:15:32.734375 [Info.][MPMain]: PlugInManager.Start() 2008-04-12 18:15:32.734375 [Info.][MPMain]: PlayOnStart: Start 2008-04-12 18:15:32.734375 [Info.][MPMain]: PlayOnStart: Play F:\1.mp3 2008-04-12 18:15:32.765625 [Info.][MPMain]: g_Player.Play(F:\1.mp3) 2008-04-12 18:15:32.765625 [Info.][6]: Command:Stop radio 2008-04-12 18:15:32.765625 [Info.][6]: Commandprocessor: MediaPortal.TV.Recording.StopRadioCommand failed reason: No tuner cards installed time: 0 msec ... 2008-04-12 18:15:32.812500 [Info.][MPMain]: Unable to start plugin:MediaPortal.Plugins.PlayOnStart exception:System.NullReferenceException: Object reference not set to an instance of an object. at MediaPortal.Player.PlayerFactory.Create(String fileName) at MediaPortal.Player.g_Player.Play(String strFile) at MediaPortal.Plugins.PlayOnStart.PlayFile(String fileName) in F:\MediaPortal Development\Plugins\PlayOnStart\PlayOnStart.cs:line 151 at MediaPortal.Plugins.PlayOnStart.Start() in F:\MediaPortal Development\Plugins\PlayOnStart\PlayOnStart.cs:line 36 at MediaPortal.GUI.Library.PluginManager.Start() ... 2008-04-12 18:15:43.375000 [Info.][MPMain]: PlugInManager.Stop() 2008-04-12 18:15:43.375000 [Info.][MPMain]: PluginManager: stopping MediaPortal.Plugins.PlayOnStart 2008-04-12 18:15:43.375000 [Info.][MPMain]: PlayOnStart: Stop Seems like a wrong directory reference to me? "F:\MediaPortal Development\Plugins" is not correct for my installtion, should be rather "C:\Programme\Team MediaPortal 0.2.3\Plugins" Another quick remark: Would it be possible to give a directory instead of a filename that is autoplayed? I.e. Media Portal picks a random file from a given directory and puts all other files in that directory in random order in a queue? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
launch on startup option play music or movies
Contact us
RSS
Top
Bottom