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
Loading Current playlist, then Playing it
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="hbe02" data-source="post: 261216" data-attributes="member: 71499"><p>thanks a bunch for the follow up jburnette. Yes i am still lingering on this problem. i will try out your code and repost immediately.</p><p></p><p>[EDIT]</p><p>thanks alot for your followup. It finally worked. Here is what my modified code looks like:</p><p>[CODE] //create your player and then get your playlist to work with</p><p> MediaPortal.Playlists.PlayListPlayer plp = MediaPortal.Playlists.PlayListPlayer.SingletonPlayer;</p><p></p><p> MediaPortal.Playlists.PlayList playlist = plp.GetPlaylist(MediaPortal.Playlists.PlayListType.PLAYLIST_MUSIC);</p><p></p><p> //add your items</p><p> MediaPortal.Playlists.PlayListWPLIO wpl = new MediaPortal.Playlists.PlayListWPLIO();</p><p> wpl.Load(playlist, FileToPlay.Trim());</p><p> </p><p> //load the list shuffle if need be, then play</p><p> plp.CurrentPlaylistType = MediaPortal.Playlists.PlayListType.PLAYLIST_MUSIC;</p><p> playlist.Shuffle();</p><p></p><p> plp.Play(0);[/CODE]</p></blockquote><p></p>
[QUOTE="hbe02, post: 261216, member: 71499"] thanks a bunch for the follow up jburnette. Yes i am still lingering on this problem. i will try out your code and repost immediately. [EDIT] thanks alot for your followup. It finally worked. Here is what my modified code looks like: [CODE] //create your player and then get your playlist to work with MediaPortal.Playlists.PlayListPlayer plp = MediaPortal.Playlists.PlayListPlayer.SingletonPlayer; MediaPortal.Playlists.PlayList playlist = plp.GetPlaylist(MediaPortal.Playlists.PlayListType.PLAYLIST_MUSIC); //add your items MediaPortal.Playlists.PlayListWPLIO wpl = new MediaPortal.Playlists.PlayListWPLIO(); wpl.Load(playlist, FileToPlay.Trim()); //load the list shuffle if need be, then play plp.CurrentPlaylistType = MediaPortal.Playlists.PlayListType.PLAYLIST_MUSIC; playlist.Shuffle(); plp.Play(0);[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Loading Current playlist, then Playing it
Contact us
RSS
Top
Bottom