News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

Custom SQL select

Started by igvk, June 10, 2017, 04:32:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

igvk

Is it possible to select songs with MM plugin, so that the SQL statement uses other tables from MM?
Such as, for example:
SELECT Songs.Id, Songs.SongTitle
FROM Songs, PlayListSongs, PlayLists
WHERE Songs.Artist = 'Artist'
AND Songs.Id = PlayListSongs.IdSong
AND PlayListSongs.IdPlayList = PlayLists.IdPlayList
AND PlayLists.PlayListName = 'Playlist'
ORDER BY PlayListSongs.SongOrder


nime5ter

#1
No, not at the moment. This is a feature James will investigate. We are currently away from the office, so it may take several weeks.

There is only the MM.LoadBySQL action, which allows you to customize the "Where" parameters in order to load and play songs.

Are you asking whether you can load song, or do you want to generate a payload XML file?

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

igvk

I am interested in playing songs in a specific order, and that order is manually set in the playlist.
This is not about generating XML.