RemoveTrack confirmation screen

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

fchastanet
Posts: 7
Joined: Sun Feb 24, 2008 7:24 pm

RemoveTrack confirmation screen

Post by fchastanet »

Hello,

I try to create a script that remove a song from a playlist

playList.RemoveTrack(currentSong)

It works, But MM ask the user a confirmation on each suppress
is there a way to get rid of this confirmation without checking the "don't ask anymore" checkbox ?

I use the MM 2.5.5.996

Thanks in advance
--
François Chastanet
drjboulder
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Post by drjboulder »

Possibly I am missing the point of your question. But, is this not what you want?

Image
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
fchastanet
Posts: 7
Joined: Sun Feb 24, 2008 7:24 pm

Post by fchastanet »

I don't want it to be a user choice
as the removal of the track is done programmatically
--
François Chastanet
fchastanet
Posts: 7
Joined: Sun Feb 24, 2008 7:24 pm

Post by fchastanet »

I've almost found the function

ISDBTools::DeleteTracks(
TrackList As ISDBSongList,
Confirmation As Boolean,
ToRecycleBin As EnumYesNo) As EnumYesNo

which don't ask for user confirmation but deletes the track from computer
I need the same function but just remove the track without confirmation from playlist(don't physically delete it)
--
François Chastanet
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Unfortunately this doesn't currently exist, but maybe the devs will add it to a future version.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Can't you just delete it from the playlist using SQL?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
fchastanet
Posts: 7
Joined: Sun Feb 24, 2008 7:24 pm

Post by fchastanet »

Thanks for the very good suggestion,

I don't that Mediamonkey support that, it's amazing !!!

will the Component be (graphically) refreshed automatically after UPDATE/Delete ? Or is there a method to do that ?

Where can I find the database schema document ?

Thanks very much
--
François Chastanet
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Here's the database schema:
http://www.mediamonkey.com/wiki/index.p ... _structure

To refresh the view you can use:
SDB.TracksWindow.Refresh
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Post Reply