[solved] Music scan do not like some characters - improvement suggestion (1 Viewer)

marsoupilami

Portal Member
May 20, 2011
11
0
France France
Hello,

I'm using MP for music in a directory located on a NAS.
Music scan crash very early in the process (some few files). The errors from the log file was the following (sorry for french):
Code:
[ERROR][(11)]: MusicDBReorg: Exception accessing file or folder: Le format du chemin d'accès donné n'est pas pris en charge.
After lots of tries, I found that the problem is coming from some specific characters (side effect of windows and linux cohabitation ;) ). In my case it was " and ... and :

It seems to have same effect on fanart scraper with less debug info.

Suggestion would be to add the name of the file or some explicit context in the log because was little bit strong to find the root cause.

Hope that it will help someone.
 
Last edited:

marsoupilami

Portal Member
May 20, 2011
11
0
France France
You sholuld not be able to create a file on Windows with a colon or quotes in its name.
You can, as far you use a network drive shared with other operating systems with no such limitations.

It is not strange that MP crashes on such a file, as Windows would not allow such characters in a file name.
I do not propose to correct windows ;) I only propose to have a more explicit message not to spend several hours to find the problem. It will be very usefull when you have several thousands of files. As it is said in the link you mentioned above:
There is no general encoding standard for filenames.
Because file names have to been exchanged between software environments (think network file transfer, file system storage, backup and file synchronization software, configuration management, data compression and archiving, etc.) it is very important not to lose file name information between applications.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
Stephen O'Kane [SOLVED] TV Stream stuttering - both Video and Audio Watch / Listen Media 14
cladinshadows85 timeshift error <solved> General 2
F [Solved] Movies View with Thumbnail Layou General Support 4
squidina [solved] - MediaPortal 1.22 won't start even with new install General Support 4
J [solved] Lag on client-only PCs General 0
joecrow [solved] (Solved) Win 10 1809 Woes General Support 4
L [solved] MovPicNFO mit NAS? Video & DVD 1
joecrow (Solved) EPG wrong General Support 18
D [SOLVED] Radio issue in MediaPortal 1.20 Pre-Release 1.20 Pre Release 47
B some music videos stutter Watch / Listen Media 0
horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
horned_reaper [solved] When playing music Fanart does not appear immediately after downloading Fanart Handler 272
horned_reaper [Music] 5012: Start current music track from the beginning Improvement Suggestions 37
horned_reaper [solved] 5012: Restart current music track General Support 13
atlantic How to use Spotify inside Mediaportal? Listen Music 18
horned_reaper [solved] Music playback hangs General Support 58
globaldonkey Music Database Error Listen Music 1
joecrow Music on Headphones Listen Music 8
2BitSculptor MP 1.23.. music stops playing General Support 6
Sarxas What Music Are You Listening To? OffTopic 0
Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
G [fixed] [MP2-786] Party Music Player can only play playlists with less than 1000 items 2.2 Archive 7
KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
BlueMax1916 [confirm] Music: Every 2nd track skipped MediaPortal 2 30
N Music player help Listen Music 4
Top Bottom