Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct Paths and illegal characters in SMB path #303

Closed
mvanbaak opened this issue May 27, 2017 · 3 comments
Closed

Direct Paths and illegal characters in SMB path #303

mvanbaak opened this issue May 27, 2017 · 3 comments

Comments

@mvanbaak
Copy link

mvanbaak commented May 27, 2017

I finally took the time to setup my music library as well using direct paths.
While scanning, I saw the following errors in the kodi log:

13:43:34.600 T:1217917856  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
13:43:34.865 T:1234695072 WARNING: Process directory 'smb://vanbaakds509/video/Music/Atari Teenage Riot/Is This Hyperreal ?/' does not exist - skipping scan.
13:43:35.149 T:1234695072 WARNING: Process directory 'smb://vanbaakds509/video/Music/Children of Bodom/Are You Dead Yet?/' does not exist - skipping scan.
13:43:35.332 T:1234695072 WARNING: Process directory 'smb://vanbaakds509/video/Music/Deadmau5/while(1<2)/CD 1/' does not exist - skipping scan.
13:43:35.335 T:1234695072 WARNING: Process directory 'smb://vanbaakds509/video/Music/Deadmau5/while(1<2)/CD 2/' does not exist - skipping scan.
13:43:36.069 T:1234695072 WARNING: Process directory 'smb://vanbaakds509/video/Music/Oasis/(What's The Story) Morning Glory?/' does not exist - skipping scan.
13:43:36.457 T:1308619680   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@vanbaakds509/video/Music/Atari%20Teenage%20Riot/Is%20This%20Hyperreal%20%3f'
                                            unix_err:'16' error : 'Invalid argument'
13:43:36.457 T:1308619680   ERROR: GetDirectory - Error getting smb://vanbaakds509/video/Music/Atari Teenage Riot/Is This Hyperreal ?/
13:43:38.741 T:1464017824  NOTICE: PLEX.librarysync -> Processed view
13:43:38.754 T:1464017824  NOTICE: PLEX.librarysync -> Movies sync is finished.
13:43:38.766 T:1464017824  NOTICE: PLEX.utils -> It took 0:00:04.306197 to run the function PlexMovies
13:43:38.767 T:1464017824  NOTICE: PLEX.librarysync -> Media folders for Music: [{'itemtype': u'artist', 'kodi_tagid': 2, 'id': u'3', 'sync_to_kodi': 1, 'name': u'Music'}]
13:43:38.833 T:1308619680   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@vanbaakds509/video/Music/Children%20of%20Bodom/Are%20You%20Dead%20Yet%3f'
                                            unix_err:'16' error : 'Invalid argument'
13:43:38.833 T:1308619680   ERROR: GetDirectory - Error getting smb://vanbaakds509/video/Music/Children of Bodom/Are You Dead Yet?/
13:43:40.119 T:1308619680   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@vanbaakds509/video/Music/Deadmau5/while(1%3c2)/CD%201'
                                            unix_err:'16' error : 'Invalid argument'
13:43:40.119 T:1308619680   ERROR: GetDirectory - Error getting smb://vanbaakds509/video/Music/Deadmau5/while(1<2)/CD 1/
13:43:40.123 T:1308619680   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@vanbaakds509/video/Music/Deadmau5/while(1%3c2)/CD%202'
                                            unix_err:'16' error : 'Invalid argument'
13:43:40.123 T:1308619680   ERROR: GetDirectory - Error getting smb://vanbaakds509/video/Music/Deadmau5/while(1<2)/CD 2/
13:43:48.930 T:1308619680   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@vanbaakds509/video/Music/Oasis/(What%27s%20The%20Story)%20Morning%20Glory%3f'
                                            unix_err:'16' error : 'Invalid argument'
13:43:48.930 T:1308619680   ERROR: GetDirectory - Error getting smb://vanbaakds509/video/Music/Oasis/(What's The Story) Morning Glory?/
13:43:59.273 T:1234695072  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:24

Looks like PKC is unable to handle some characters in the paths ;-)

Kodi 17.3 on libreelec 8.0.2
PKC 1.8.0
PMS: 1.7.1

I have setup path mapping in PKC:
/mnt/mvanbaaknas/Music -> smb://vanbaakds509/video/Music

@croneter
Copy link
Owner

The question mark ? in your file path is the problem. As I have a windows machine which doesn't allow that, this is going to take some time

@mvanbaak
Copy link
Author

Yeah, I figured it's the ? the < characters. It's ok if this takes some time, no worries.

@croneter croneter changed the title PKC DirectPath Music: SMB path issues with some characters in paths Direct Paths and illegal characters in SMB path May 29, 2017
@croneter
Copy link
Owner

Sorry, bad news: https://github.com/croneter/PlexKodiConnect/wiki/Troubleshooting-Direct-Paths

You need to replace these characters altogether if you want to use direct paths...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants