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
General Development (no feature request here!)
Party Shuffle (digital jukebox) on MP! (Updated 30/10/2004)
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="samuel337" data-source="post: 4482" data-attributes="member: 10347"><p>Hey guys</p><p></p><p>I noticed some demand for a digital jukebox mode, and while this isn't that exactly, its one step closer. It is my first time fiddling with MP - I decided to do so while frodo is away so the sources don't change much while I'm programming...</p><p></p><p>Anyway, I delved into the MP source code and added some code here and there to the GUIMusic and MusicDatabase projects. The new party shuffle functionality (as seen in iTunes) is implemented in the playlists screen. Basically what it is is that it will randomly pick 12 songs to play, and when one finishes, it will remove it and pick another, maintaining at least 12 songs in the playlist. In other words, MP plays random songs and shows you the next 11 songs it intends to play. You can delete these and MP will pick new ones. You can also, as before, continue adding songs to the playlist and MP will play them. After the added songs are played, it returns to randomly picking songs.</p><p></p><p>To activate party shuffle, simply press the Party Shuffle button at the bottom of the playlist screen. To turn it off, simply press it again.</p><p></p><p>Once you press it, it will load up 12 random songs and play them. To get rid of a song, select it and press Y (or whatever your delete playlist item key is). To select the next song to play in the list, simply select the song and click on it. All the songs in between the song currently playing and the selected song will be removed from the playlist and random songs will be added if required to fill up the list. You cannot delete the currently playing song. Press Next if you want to stop playing the current song. The Clear button clears the playlist and fill it with 12 random songs. If a song is playing, it will not remove that song. Stop the song first before clearing the playlist if you wish to do so. The previous button is permanently disabled as once a song is played, it is removed from the playlist in party shuffle mode.</p><p></p><p>To install party shuffle, because it is a patch and not a plugin, you will need to overwrite a few MP files. I have developed this using the latest source code (0.0.0.12). To install, download the file and extract the files to the following locations:</p><p></p><p>MusicDatabase.dll to your MediaPortal folder</p><p>GUIMusic.dll to MediaPortal\plugins\windows</p><p>mymusicplaylist.xml to MediaPortal\skin\mce</p><p>strings.xml to MediaPortal\language\English</p><p></p><p>In all cases, it should be overwriting a file. If it does not, then you are not putting it in the right folder.</p><p></p><p>This patch only works with the mce skin and with the English language (until someone adds it into the other skins and languages).</p><p></p><p>It is basically finished from my point of view, and all bugs that I have found have been resolved.</p><p></p><p>The source code is included in the download as well. You do not need to touch it unless you want to view the source code (it is the two .cs files) (be easy on me when you see it though, I'm not a C# programmer, more a VB.NET person ;-) ).</p><p></p><p>Download it at: <strong>Link removed - party shuffle in MP 0.0.0.13</strong></p><p></p><p>Anyway, I think this is all I have to say, hope you guys can get it working! Post any suggestions/feedback/bugs and anything else here...</p><p></p><p>Sam</p><p>EDIT: updated it with new version 28/10/2004</p><p>EDIT: updated it with new version 29/10/2004. See post below.</p><p>EDIT: updated it with new version 30/10/2004. See post below.</p><p><strong>EDIT: removed link to patch - party shuffle in MP 0.0.0.13</strong></p></blockquote><p></p>
[QUOTE="samuel337, post: 4482, member: 10347"] Hey guys I noticed some demand for a digital jukebox mode, and while this isn't that exactly, its one step closer. It is my first time fiddling with MP - I decided to do so while frodo is away so the sources don't change much while I'm programming... Anyway, I delved into the MP source code and added some code here and there to the GUIMusic and MusicDatabase projects. The new party shuffle functionality (as seen in iTunes) is implemented in the playlists screen. Basically what it is is that it will randomly pick 12 songs to play, and when one finishes, it will remove it and pick another, maintaining at least 12 songs in the playlist. In other words, MP plays random songs and shows you the next 11 songs it intends to play. You can delete these and MP will pick new ones. You can also, as before, continue adding songs to the playlist and MP will play them. After the added songs are played, it returns to randomly picking songs. To activate party shuffle, simply press the Party Shuffle button at the bottom of the playlist screen. To turn it off, simply press it again. Once you press it, it will load up 12 random songs and play them. To get rid of a song, select it and press Y (or whatever your delete playlist item key is). To select the next song to play in the list, simply select the song and click on it. All the songs in between the song currently playing and the selected song will be removed from the playlist and random songs will be added if required to fill up the list. You cannot delete the currently playing song. Press Next if you want to stop playing the current song. The Clear button clears the playlist and fill it with 12 random songs. If a song is playing, it will not remove that song. Stop the song first before clearing the playlist if you wish to do so. The previous button is permanently disabled as once a song is played, it is removed from the playlist in party shuffle mode. To install party shuffle, because it is a patch and not a plugin, you will need to overwrite a few MP files. I have developed this using the latest source code (0.0.0.12). To install, download the file and extract the files to the following locations: MusicDatabase.dll to your MediaPortal folder GUIMusic.dll to MediaPortal\plugins\windows mymusicplaylist.xml to MediaPortal\skin\mce strings.xml to MediaPortal\language\English In all cases, it should be overwriting a file. If it does not, then you are not putting it in the right folder. This patch only works with the mce skin and with the English language (until someone adds it into the other skins and languages). It is basically finished from my point of view, and all bugs that I have found have been resolved. The source code is included in the download as well. You do not need to touch it unless you want to view the source code (it is the two .cs files) (be easy on me when you see it though, I'm not a C# programmer, more a VB.NET person ;-) ). Download it at: [b]Link removed - party shuffle in MP 0.0.0.13[/b] Anyway, I think this is all I have to say, hope you guys can get it working! Post any suggestions/feedback/bugs and anything else here... Sam EDIT: updated it with new version 28/10/2004 EDIT: updated it with new version 29/10/2004. See post below. EDIT: updated it with new version 30/10/2004. See post below. [b]EDIT: removed link to patch - party shuffle in MP 0.0.0.13[/b] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Party Shuffle (digital jukebox) on MP! (Updated 30/10/2004)
Contact us
RSS
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom