I am using 2 MC library servers (v21.0.50) (MC-1, MC-2) in a LAN on a MacMini (MC-1) and MCBookPro (MC-2) (with different access keys). The files of a master library 'ML' of MC-1 are stored on a NAS (TimeCapsule) in the LAN. MC-2 uses this library as a client (in sync mode). Everything works perfect with this installation.
The problem starts, if I use the MCWS on MC-2 to execute a '/MCWS/v1/File/GetFile?File=key&Conversion=4'-request in a Safari-Browser-page on MC-2 to fill the src-attribute of an HTML5 audio element. The file downloads and (if clicked) plays in the browser (on the default audio device), but shortly after the file is fully downloaded its deleted on the NAS (TimeCapsule). On MC-1 (in the corresponding zone display) the filename vanishes and is replaced by 'GetFile -Cache MP3 high (number).mp3'. The display is not updated on MC-2. Clicking (in MC-1) on a track (where the file is deleted) shows the error message 'Tagging Error', Media Center encountered errors while tagging or moving files....'.
Here is the 'squeezed down to the error' HTML-page which causes this deleting of files
<!-- Testpage for reproducing 'deleting-media-file-error' -->
<!doctype html>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<title>Testpage for error reproduction</title>
<script src='/media/jsab/jquery-2.1.4.min.js'></script>
</head>
<body>
<h1 id='start'>Testpage for reproducing deleting-media-file-error: Klick here</h1>
<div><audio id='a' src='' type='audio/mpeg' controls></audio></div>
<script>
var token ='37aZdIOU';
$('#start').click( function() {
var filekey = '7906099';
$('#a').attr('src','http://user:password@10.0.1.15:52199/MCWS/v1/File/GetFile?File='+filekey+'&Conversion=4&Token='+token);
$('a').load();
});
</script>
</body></html>
I do not know, if this is an MC-error or my error using 'File/GetFile' in wrong way. Any hints would be very valuable.