Save Dummy Items to Database

Would it be possible to have the permission to save to Database “Dummy” tracks which could have a Filename or F:\marker maybe… this would mean when using external music scheduling programs like Powergold we can save the markers with the details eg. Hard Fixed Time details into the Mairlist Database.

Currently this option is greyed out.

Example attached.


Screen Shot 2012-04-22 at 9.21.40 AM.png

You have to add them from the mAirListDB window. Go to the Library, navigate to the folder where you want to place the new item, and click the small arrow next to the Add button in the toolbar. A menu will appear that lets you add any of the non-file items.

Hmm that would be alright if I did the playlist with MairlistDB

I import a M3U Playlist, where the contents of this .M3U file would be like

F:\Music\track1.mp3
F:\Music\track2.mp3

But… I would like to have

F:\TopOfHour

In my M3U Playlist and have then on import of M3U Playlist Mairlist recognize that from its database as a dummy file. It doesn’t seem too. Even though this is in the MairlistDB. It treats it as a music file which is dud and displays a error triangle icon.

Any ideas?

I’ve had a play and I think I’ve found a temporary solution.

Is to put in the playlist

eg. F:\Markers\TopOfHour.txt

Mairlist won’t play TXT Files but it will save these into the database.

Is there an easier way?

Oh, you’re talking about M3U import…

Just add the dummy to the database as described above, note the numeric ID it gets in the Library, e.g. 1234, and put the following line into your M3U file:

#mAirList ID 1234

Hmm I’ve just tried this and I’m getting

“Invalid id: 32990” and I am sure I’ve put the dummy in the mairlistDB with a Internal and External ID of 32990.

Ideas?

I think this could be inserted into the scheduler as a dummy command/marker you are using (Powergold ?) rather than the database.

Charlie perhaps can help here.

Correct, im using Powergold.

Cheers

If I’m correct (never used Powergold!), I think you do this using a Note in Powergold.

The content of the Note in Powergold (I’m vague on the details, obviously) is the mAirList ‘command.’

If you can’t figure out presently how to do that, you can manually edit the line into your mp3 file to check whether it works.

In your case, that would be:

#mAirList ID 32990

Hope that helps?

BFN
Cad

Hmm I’ve tried your suggestions.

The first picture is the contents of my M3U playlist exported from my music scheduling program.

The second pricture is the screenshot of what is happening when it imports into marliest

The third picture is the mairlistdb object


Screen Shot 2012-04-23 at 6.55.01 PM.png

Screen Shot 2012-04-23 at 6.55.07 PM.png

Screen Shot 2012-04-23 at 6.56.46 PM.png

Works fine here.

Do you have multiple DB connections set up?

Also, when you go into mAirListDB, can you please confirm that the Dummy item you’ve created there (and you MUST add the item in mAirListDB first) definitely has the value 32990 in its ID column when you view whichever virtual folder the dummy item is in?

If that number doesn’t match the number in your #mAirList ID line in the M3U file, you’ll get the error you’ve shown us.

BFN
Cad

Certainly have done. Tried all the steps above and no luck :S

Are you guys using PostgreSQL DB?

The error I’m getting now when I try it with the newer build

“Not connected. Error.”

But I am connected to the DB

There’s a Test Connection button in the Database dialog in Config. What happens when you click that button in the dialog for your mAirList database?

If the button works and says your connection is successful, then: do you have more than one database connected to mAirList?

BFN
Cad

Hmm odd!

I’ve fixed it. I removed the SAM Database (which was NOT ticked… thus not in use) from my Database and its started working.

Sorry :-[

Thanks for your help though!

You’re welcome: that one was more of a lucky guess!

BFN
Cad