Upgrading, fixed:
1. For long routes files written in Cyrillic server did not commit the files. The reason is that the application uses the library windows Http.sys, by default in the registry for UrlSegmentMaxLength set to 260, this means that the length of each path segment (before slash slash from either end of the road) should not exceed 260 characters (pruflink
http://support.microsoft.com/kb/820129 ).
If you take for example the file "001_A_Kravets - S_Tsormudyan _VSHNB - Hell has zdes__ Chapter 1.mp3" length of 60 characters, but the fact is that the transfer of the Cyrillic alphabet, and spaces are converted and the file name becomes
001_% D0% 90_% D0% 9A% D1% 80% D0% B0% D0% B2% D0% B5% D1% 86% 20% E2% 80% 93% 20% D0% A1_% D0% A6% D0% BE% D1% 80% D0% BC% D1% 83% D0% B4% D1% 8F% D0% BD% 20_% D0% 92% D0% A8% D0% 9D% D0% 91% 20% 20% D0 % 90% D0% B4% 20% D1% 83% D0% B6% D0% B5% 20% D0% B7% D0% B4% D0% B5% D1% 81% D1% 8C __% 20% D0% 93% D0 % BB% D0% B0% D0% B2% D0% B0% 201.mp3
that is exactly 261. At the request of the file from the server, it returns an error code to 400.
The value of 260 can be increased in the registry, but not every user can be competent in this matter, or it is banal simply may not have enough rights to perform this operation.
The server is now taught to check the length of the segments of the paths before starting if it detected a long way in the folder path (the book may consist of several folders or sub-folders) will get a message "Url path is too long. Reduce the structure of sub-directories. The server could not be started." in this case, the user will have to rename the folders books.
If the problem is only in the name of the file will be given a dialog box with the message "Url path is too long. Enable Digital Audio Book Server rename book files to reduce the length of the path?" if you agree to the renaming, the book files will be renamed, the file name will be reduced from the end with the addition of the counter, in order to avoid matching filenames. Number bude counter symbols dependent on the number of files in the book, if up to 10, one symbol, if between 10 and 99, then two etc.
Attention! The files will be renamed to the physical disk, to cancel this operation is not possible, only manually.
2. Added Ukrainian localization.
Attached files
DigitalAudioBookServer 1.0.4901.40573.zip(1.51 MB)
Post has been editedNab0y - 02.06.13, 22:28