Hey
Is it possible to use the LoadLibrary function from a VB script written for MM?
Thanks.
Search found 15 matches
- Wed Oct 08, 2008 7:36 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: LoadLibrary from a script?
- Replies: 1
- Views: 685
- Mon Oct 06, 2008 4:42 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Get all titles in the library
- Replies: 7
- Views: 1287
Re: Get all titles in the library
I think they support triggering the sync yourself somehow, but not signing up for the event.
- Mon Oct 06, 2008 4:23 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Get all titles in the library
- Replies: 7
- Views: 1287
Re: Get all titles in the library
Works!
And do you happen to know how to start a sync?
There's SDBDevice::StartSynch who gets a SDBSongList, but I can't find a code example that uses it, and have't successfully manage to do it myself.
And do you happen to know how to start a sync?
There's SDBDevice::StartSynch who gets a SDBSongList, but I can't find a code example that uses it, and have't successfully manage to do it myself.
- Mon Oct 06, 2008 4:06 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Get all titles in the library
- Replies: 7
- Views: 1287
Re: Get all titles in the library
I want to do exactly what you said, without the need to manually select the songs.
- Mon Oct 06, 2008 2:05 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Get all titles in the library
- Replies: 7
- Views: 1287
Re: Get all titles in the library
and is there a way to start the sync process ? (Simulate clicking on the sync button)
- Mon Oct 06, 2008 11:42 am
- Forum: Need Help with Addons? (MMW4)
- Topic: Get all titles in the library
- Replies: 7
- Views: 1287
Get all titles in the library
Hi all,
Is there an easy way using the API, to get an object that holds a list of all the tracks I have in my library?
Thanks!
Is there an easy way using the API, to get an object that holds a list of all the tracks I have in my library?
Thanks!
- Tue Sep 30, 2008 11:55 am
- Forum: Need Help with Addons? (MMW4)
- Topic: Run a script when synchronizing
- Replies: 4
- Views: 1652
Re: Run a script when synchronizing
Not sure I understand what you mean...
- Mon Sep 29, 2008 1:39 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Run a script when synchronizing
- Replies: 4
- Views: 1652
Re: Run a script when synchronizing
I tried registering to the "OnTrackConverted" event, assuming all tracks are being converted while sync-ing.
Sadly it didn't seem to raise the event this way, only when I manually converted tracks.
Sadly it didn't seem to raise the event this way, only when I manually converted tracks.
- Mon Sep 29, 2008 8:46 am
- Forum: Need Help with Addons? (MMW4)
- Topic: Run a script when synchronizing
- Replies: 4
- Views: 1652
Run a script when synchronizing
Hello
Do you know of a way I can run a script when I begin/end a sync or when a single file is being copied to the device?
Thanks!
Do you know of a way I can run a script when I begin/end a sync or when a single file is being copied to the device?
Thanks!
- Sun Sep 28, 2008 3:12 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Re: Unicode in SDB title/artist
You could also try: Function ConditionalReverse(rev) If rev = "" Then ConditionalReverse = rev Else Dim RE, Matches Set RE = New RegExp RE.IgnoreCase = True RE.Global = True RE.Pattern = "[\u0590-\u05FF]" Set Matches = RE.Execute(rev) If Matches.Count > 0 Then ConditionalReverse = StrReverse(rev ...
- Sun Sep 28, 2008 3:09 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Re: Unicode in SDB title/artist
It does show the correct letters + a break-line and the first Hebrew letter of the song title, but it always returns true, even for English only titles.
- Sun Sep 28, 2008 2:47 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Re: Unicode in SDB title/artist
Still replaces no matter what (does not consider the if HasHebrew())
When I try to debug (aka pop a msgbox) the variable tmp in the HasHebrew function, I always get 63, which is the ascii code for '?'.
When I try to debug (aka pop a msgbox) the variable tmp in the HasHebrew function, I always get 63, which is the ascii code for '?'.
- Sun Sep 28, 2008 2:01 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Re: Unicode in SDB title/artist
Sub ReverseTags Dim list, itm, i ' Get list of selected tracks from MediaMonkey Set list = SDB.CurrentSongList ' Process all selected tracks For i=0 To list.count-1 Set itm = list.Item(i) If (itm.BPM <> 1 AND itm.BPM <> 2) Then ' Reverse only if modification flag isn't on yet itm.Title ...
- Sun Sep 28, 2008 1:30 pm
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Re: Unicode in SDB title/artist
I'm trying to write something that reverses the order of unicode strings inside id3 tags.
When I go to SDB.CurrentSongList and get the Title or the Album, I get "????" instead of letters.
When I go to SDB.CurrentSongList and get the Title or the Album, I get "????" instead of letters.
- Sat Sep 27, 2008 10:44 am
- Forum: Need Help with Addons? (MMW4)
- Topic: Unicode in SDB title/artist
- Replies: 10
- Views: 1615
Unicode in SDB title/artist
Hello
When I try to get the value of a title or an artist (or whatever) from the SDB when in unicode, all I get is question marks.
Is there a way to get the real value of the variables?
Thanks.
When I try to get the value of a title or an artist (or whatever) from the SDB when in unicode, all I get is question marks.
Is there a way to get the real value of the variables?
Thanks.