08-09-2018, 01:25 AM | #1 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,846
|
Playback not updating in FIPM when using script (FIXED)
When using script to mute/unmute items playback in FIPM does not update,it playbacks the item which was first selected, others are ignored. It will only playback new unmuted items if playback cursor position is manually changed
Short script to reproduce bug Code:
function main() local cur_item, _ = reaper.BR_ItemAtMouseCursor() local num_items = reaper.CountTrackMediaItems(reaper.GetSelectedTrack(0,0)) for i = 0 , num_items-1 do local item = reaper.GetMediaItem(0, i) if item ~= cur_item then reaper.SetMediaItemInfo_Value( item, "B_MUTE", 1 ) else reaper.SetMediaItemInfo_Value( item, "B_MUTE", 0 ) end end reaper.UpdateArrange() reaper.defer(main) end main()
__________________
My Scripts and ReaPack link | Virtual Tracks (ProTools Playlist/TrackVersions) | 🛸Area(51) Selection LUA Script | 🍝ReaSpaghetti Visual Scripter | 👻ParaNormal FX Router | 🥧 Pie Menu 3000 | ►Donation PayPal ☕️Ko-fi |
08-15-2018, 11:54 AM | #2 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,846
|
Any update on this? is it a bug or user error?
__________________
My Scripts and ReaPack link | Virtual Tracks (ProTools Playlist/TrackVersions) | 🛸Area(51) Selection LUA Script | 🍝ReaSpaghetti Visual Scripter | 👻ParaNormal FX Router | 🥧 Pie Menu 3000 | ►Donation PayPal ☕️Ko-fi |
10-07-2018, 04:37 AM | #3 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,846
|
I want to bump this since its breaking script functionality
__________________
My Scripts and ReaPack link | Virtual Tracks (ProTools Playlist/TrackVersions) | 🛸Area(51) Selection LUA Script | 🍝ReaSpaghetti Visual Scripter | 👻ParaNormal FX Router | 🥧 Pie Menu 3000 | ►Donation PayPal ☕️Ko-fi |
10-08-2018, 02:50 PM | #4 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Fixing, thanks!
As a temporary workaround, you can call this after changing the mute state: Code:
reaper.SetMediaItemInfo_Value(item, "D_POSITION", reaper.GetMediaItemInfo_Value(item,"D_POSITION")); Last edited by Justin; 10-08-2018 at 03:11 PM. |
10-08-2018, 11:30 PM | #5 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 4,846
|
thank you!
__________________
My Scripts and ReaPack link | Virtual Tracks (ProTools Playlist/TrackVersions) | 🛸Area(51) Selection LUA Script | 🍝ReaSpaghetti Visual Scripter | 👻ParaNormal FX Router | 🥧 Pie Menu 3000 | ►Donation PayPal ☕️Ko-fi |
10-09-2018, 02:16 AM | #6 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,152
|
Sorry, for my ignorance, but what is FIPM?
__________________
My Reascripts forum thread | My Reascripts on GitHub If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom |
10-09-2018, 02:23 AM | #7 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,265
|
Free Item Positioning Mode. It's a track setting that allows items to be resized and moved vertically.
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
10-09-2018, 02:47 AM | #8 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,152
|
Ahhh, thanks Christian! Wasn't aware of the abbreviation
__________________
My Reascripts forum thread | My Reascripts on GitHub If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom |
Thread Tools | |
Display Modes | |
|
|