Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translate CurItemcookie to Playist Item ID
#1
I had started creating a Media Player mode that would automatically delete the last song played while the playlist mode was set to Random mode. I really want to select a few albums, put the player into Random mode and have the playlist empty itself after each song is played... I had attempted to finish this logic tonight that I started a year ago and realized that some fairly recent changes now won't allow a DelPlayList item via Item cookie but rather need the current playlist item id. I had logic in place to store the last Item cookie for this purpose before...

I think I could have accomplished what I wanted on past versions but now am stumped as I can't find a way to determine the current playlist item id # and store it away for use to delete that item when the next track starts up. The plan was to use a trigger that stores the last played items by cookie. Once triggered on a track change I would just look at the last item stored and do a DelPlaylist item on that.

So with that background, my question: Is there a way to get at the currently playing PlayList item #'s to do a DelPlaylistItem from within a trigger somehow? The only place I can find a playlist item number is from a select of that item within an item browser widget via mediaRTV.
Reply
#2
Hmmm.... I guess we could provide a backdoor command to query the playlist id of the currently playing item.
Dean Roddey
Explorans limites defectum
Reply
#3
Dean Roddey Wrote:Hmmm.... I guess we could provide a backdoor command to query the playlist id of the currently playing item.

OK, that would be be great if not too tough to add. thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with Documentation regarding Advanced Item Browsers CMorrow 1 1,410 01-03-2014, 10:20 PM
Last Post: Dean Roddey
  Potential Bug in Adv Item Browser CMorrow 2 1,318 12-21-2013, 01:23 PM
Last Post: Dean Roddey
  Delete Item in Playlist Sparks 19 5,882 09-04-2013, 02:11 PM
Last Post: pinballmark
  Advanced Media Item Browser pjgregory 2 1,632 09-03-2013, 10:16 AM
Last Post: Dean Roddey
  CQC Wishlist Item jdmontague 7 2,401 02-11-2013, 12:48 PM
Last Post: Dean Roddey
  New 'Advanced Media Item Browser' for 4.2 Dean Roddey 21 4,688 11-05-2012, 09:13 AM
Last Post: pjgregory
  Problem with Media Item Browser pjgregory 6 1,686 11-14-2011, 02:21 PM
Last Post: pjgregory
  Media Item Browser not working ... rbroders 12 2,873 10-15-2011, 10:27 AM
Last Post: rbroders
  Size Limit for Media Item Browser jrlewis 15 4,438 01-10-2010, 04:21 AM
Last Post: jrlewis
  (How) Can we change the repo for a media-repo-item widget at runtime? IVB 1 1,252 10-04-2008, 11:39 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)