Sasa Grbic
Member
Hello. The application button in the music library is still not working. When the music library is empty, when no database is loaded, the application key works.
This does not confirm here. If you have files list focused in the Music Library, pressing the Application key shows the context menu for the list.Sasa Grbic said:When the music library is empty, when no database is loaded, the application key works.
It will skip the track if you have the "Skip tracks with BPM set" option enabled and the BPM field is not empty (has a BPM value or -1) - this is to avoid scanning tracks that were already scanned.DJ Denise said:It seems once this -1 is encountered it cannot detect the BPM
It only processes tracks that are selected in the list.DJ Denise said:Does this imply if you select something you can do it on just the section as currently it runs through whole library :
The value will be updated in tags and in the music librtary as well. You can try opening Track Tool to confirm if the value actually presents there. It saves this data in APEv2 tag (if you did not change this in settings), so works for all file formats, except for FLAC and WAV where it saves the data to NTFS alternative stream.DJ Denise said:This finished leaving the -1 on screen in the Music library windows and seems to have not changed the records.
Yes, exporting only selected tracks makes more sense - we'll change how this command works.DJ Denise said:I selected these records and tight Click Menu "Exported to Player " This strangely exported all the tracks not just the selected
It only scans selected tracks, not all tracks.DJ Denise said:Thanks for answering if you can can you add the facility to just select a few records to process with these tools so the whole library does not need to be scanned.
They probably use a different BPM scanning algorithm to get BPM. Well, it's a tool whose sole purpose is BPM scanning while in RadioBOSS it's one feature amongst lots of othersDJ Denise said:I notice that MixMiester has no problem in calculating the BPM of these mp3
It appears that the database is corrupted. If you have a backup, I'd suggest to delete this database and restore from the backup.nelson c said:The service closes immediately when you start using it. Also when trying to generate a backup from HeidiSQL. I did an analysis and found the following
It would be useful if with the Backup command of RadioBOSS a backup of MySQL is made if it is enabled.djsoft said:It appears that the database is corrupted. If you have a backup, I'd suggest to delete this database and restore from the backup.
RadioBOSS would be unable to backup a remote database. You can call mysqldump utility using the run command in the scheduler to make a backup if a database is local.nelson c said:It would be useful if with the Backup command of RadioBOSS a backup of MySQL is made if it is enabled.
Hi Dmitrydjsoft said:The Tab character works fine
<?php
$api = "http://127.0.0.1:9000/?pass=xxx";
$fn = 'C:\track.mp3';
//read current tag
$tag = file_get_contents("$api&action=readtag&fn=" . urlencode($fn));
//display tag info as XML
echo "Tag data:\n\n$tag";
//process as XML
$xml = new SimpleXMLElement($tag);
//change tags list, Tab-separated (\t)
$xml->File['TagsList'] = "Slow\t80s";
//get XML string
$newtag = $xml->asXML();
echo "\n\n\nNew tag data:\n\n" . $newtag;
//write tag to file
file_get_contents("$api&action=writetag&fn=" . urlencode($fn) . '&data=' . urlencode($newtag));
Tag data:
?<?xml version="1.0" encoding="utf-8"?>
<TagInfo>
<File FN="C:\track.mp3" Duration="227122" Artist="Katrin Mokko" Title="Kill Me [Dub step]" Album="" Year="" Genre="Other" Comment="" BPM="174" Rating="0" Playcount="25" LastPlayed="2017-06-24 15:49:35" UserField1="" UserField2="" UserField3="" UserField4="" UserField5="" TypeIdentifier="" TagsList="90s	Old	Slow" Intro="-1" Outro="-1" FadeIn="-1" FadeOut="-1" Mix="-1" Level="0.0" Start="-1" End="-1" />
</TagInfo>
New tag data:
<?xml version="1.0" encoding="utf-8"?>
<TagInfo>
<File FN="C:\track.mp3" Duration="227122" Artist="Katrin Mokko" Title="Kill Me [Dub step]" Album="" Year="" Genre="Other" Comment="" BPM="174" Rating="0" Playcount="25" LastPlayed="2017-06-24 15:49:35" UserField1="" UserField2="" UserField3="" UserField4="" UserField5="" TypeIdentifier="" TagsList="Slow	80s" Intro="-1" Outro="-1" FadeIn="-1" FadeOut="-1" Mix="-1" Level="0.0" Start="-1" End="-1"/>
</TagInfo>
http://127.0.0.1:9000/?pass=xxx&action=writetag&fn=C%3A%5Ctrack.mp3&data=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0A%3CTagInfo%3E%0A%3CFile+FN%3D%22D%3A%5Cdisko%5Cdubstep%5C_+Katrin+Mokko+-+Kill+Me+%5B.mp3%22+Duration%3D%22227122%22+Artist%3D%22Katrin+Mokko%22+Title%3D%22Kill+Me+%5BDub+step%5D%22+Album%3D%22%22+Year%3D%22%22+Genre%3D%22Other%22+Comment%3D%22%22+BPM%3D%22174%22+Rating%3D%220%22+Playcount%3D%2225%22+LastPlayed%3D%222017-06-24+15%3A49%3A35%22+UserField1%3D%22%22+UserField2%3D%22%22+UserField3%3D%22%22+UserField4%3D%22%22+UserField5%3D%22%22+TypeIdentifier%3D%22%22+TagsList%3D%22Slow%26%239%3B80s%22+Intro%3D%22-1%22+Outro%3D%22-1%22+FadeIn%3D%22-1%22+FadeOut%3D%22-1%22+Mix%3D%22-1%22+Level%3D%220.0%22+Start%3D%22-1%22+End%3D%22-1%22%2F%3E%0A%3C%2FTagInfo%3E%0A
Thank you so much for your help.djsoft said:This is not correct, as you need to pass XML data into RadioBOSS, not tabs directly. Here's an example to illustrate how it can be done:
ANode.ChildNodes.FindNode('File').SetAttributeNS('TagsList', '', 'Cat: ' + ComboCategorias.Text) + chr(9) + 'Grab: ' + ComboVersiones.Text)
RBAPI.Get(URLParaLlamarAAPI('&action=writetag&fn=' + HTTPEncode(Ruta)) + '&data=' + HTTPEncode(ANode.XML));
This is already possible in RadioBOSS 5.9, use the Tools->Process Tracks menu command to batch process tracks.DJ Denise said:I just wondered as you was fixing this if it would be possible to add a menu option when you right click on a selected playlist to get a menu to normalise sound levels and add bpm please?
The BPM will fail for some tracks and we do not have any solution for this. You can add any number of tracks to the music library to process, it can also automatically skip the tracks that arte already scanned.DJ Denise said:The main routines on library are now taking me more than a night to run with new tracks. I only really need to run this on my playlist that I want to play which is about 30 songs for 2 hours and a much more manageable size for your routines to cope with? I hope this is helpful ideas for you ? I am still getting -1 bpm on some songs too from track tool.
There's no "Shift+C" hot key defined in RadioBOSS.DJ Denise said:Would it also be possible when you press shift+c in a selected play list to have a warning message you are about to delete everything in the playlist please?
The same approach will work with any language, XML is a standard and works the same everywhere. I'm not familiar with the library you use, but I suppose SetAttributeNS should properly encode Tab character, so using Chr(9) is correct. You can check what actual XML it generates (ANode.XML) - the Tab character should appear there as 	.nelson c said:I'm coding in Delphi and that's where I have the problems (In XML PreserveWhiteSpaces is true)