View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017788 | MMW 5 | Extensions framework | public | 2021-04-28 00:56 | 2021-04-28 18:58 |
Reporter | drakinite | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 5.0.1 | ||||
Target Version | 5.0.1 | Fixed in Version | 5.0.1 | ||
Summary | 0017788: [COM] Access violation when using auto shuffle playlist script | ||||
Description | Log ID: 8E1DADE7 User posted Peke's old "Mediamonkey Scheduled Playlist Start" script here: https://www.mediamonkey.com/forum/viewtopic.php?p=480763#p480763 When attempting to utilize the script that was copied in the post, it led to the aforementioned crash. | ||||
Tags | No tags attached. | ||||
Attached Files | test.vbs (1,074 bytes)
'========================================================================== ' ' NAME: Mediamonkey Scheduled Playlist Start v1.1 ' ' AUTHOR: Peke ' DATE : 16.10.2005 ' ' INSTALL: 1. Read info above line with 'Playlist =' ' 2. Just start Script in Scheduled time and MediaMonkey Will play ' desired playlist. ' ' COMMENT: This is third party Windows Host Script that takes advantage of ' MediaMonkey to play desired Playlist at desired time. ' ' NOTE: Mediamonkey needs to be started before script executes ' '========================================================================== Dim SDB, Songs Set SDB = CreateObject("SongsDB5.SDBApplication") SDB.ShutdownAfterDisconnect = False Sdb.player.playlistclear Dim i For i = 0 To (WSH.Arguments.Count-1) sdb.player.playlistaddtracks(SDB.PlaylistByTitle(WSH.Arguments.Item(i)).tracks) Next If SDB.Player.isPlaying or SDB.Player.isPaused then SDB.Player.Stop End If Randomize SDB.Player.CurrentSongIndex = Int((SDB.Player.PlaylistCount+1) * Rnd) SDB.player.Play | ||||
Fixed in build | 2400 | ||||