Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Unable to access SMB in directory channels #22

Open
InaudibleDirge opened this issue Jan 6, 2019 · 9 comments
Open

Unable to access SMB in directory channels #22

InaudibleDirge opened this issue Jan 6, 2019 · 9 comments
Assignees
Labels

Comments

@InaudibleDirge
Copy link

I'm unable to access SMB when using directory channels. I have those folders on the same network server that all of the other videos are located, but they are not loaded into the Kodi library as they are bumps, commercials, etc.

Just wondering if this is intended or something else.

@Steveb1968 Steveb1968 self-assigned this May 5, 2019
@Steveb1968 Steveb1968 added the bug label May 5, 2019
@Steveb1968
Copy link
Owner

Known bug. workaround would be use a local dir until I get around to fixing it.

@rafaelvieiras
Copy link
Contributor

When I try to share my channels with samba, I receive this:

2019-11-16 10:30:56.977 T:140609637574400   ERROR: Rename - Error( No such file or directory )
2019-11-16 10:30:56.977 T:140609637574400   ERROR: Rename - Error renaming file smb://NASHOME/media/Kodi/PseudoTv/cache/FileLock.dat
2019-11-16 10:30:57.479 T:140609637574400   ERROR: Rename - Error( No such file or directory )
2019-11-16 10:30:57.479 T:140609637574400   ERROR: Rename - Error renaming file smb://NASHOME/media/Kodi/PseudoTv/cache/FileLock.dat
2019-11-16 10:30:57.982 T:140609637574400   ERROR: Rename - Error( No such file or directory )
2019-11-16 10:30:57.982 T:140609637574400   ERROR: Rename - Error renaming file smb://NASHOME/media/Kodi/PseudoTv/cache/FileLock.dat
2019-11-16 10:30:58.483 T:140609637574400   ERROR: Rename - Error( No such file or directory )
2019-11-16 10:30:58.483 T:140609637574400   ERROR: Rename - Error renaming file smb://NASHOME/media/Kodi/PseudoTv/cache/FileLock.dat
2019-11-16 10:30:58.986 T:140609637574400   ERROR: Rename - Error( No such file or directory )
2019-11-16 10:30:58.986 T:140609637574400   ERROR: Rename - Error renaming file smb://NASHOME/media/Kodi/PseudoTv/cache/FileLock.dat
2019-11-16 10:30:59.486 T:140609637574400 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NASHOME/media/Kodi/PseudoTv/cache/44516.lock
2019-11-16 10:30:59.594 T:140609637574400 WARNING: Previous line repeats 1 times.
2019-11-16 10:30:59.594 T:140609637574400   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'TVOverlay' object has no attribute 'sleepTimeValue'
                                            Traceback (most recent call last):
                                              File "/home/rafael/.kodi/addons/script.pseudotv/resources/lib/Overlay.py", line 686, in onAction
                                                self.startSleepTimer()
                                              File "/home/rafael/.kodi/addons/script.pseudotv/resources/lib/Overlay.py", line 792, in startSleepTimer
                                                if self.sleepTimeValue == 0:
                                            AttributeError: 'TVOverlay' object has no attribute 'sleepTimeValue'
                                            -->End of Python script error report<--
2019-11-16 10:31:02.339 T:140609629181696 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://NASHOME/media/Kodi/PseudoTv/cache/13259.lock

Client: Ubuntu 19.04 with SMBv1 forcede on kodi
Server: Ubuntu Serve 18.10 with OMV

@rafaelvieiras
Copy link
Contributor

@Steveb1968
On Overlay.py, I add self.sleepTimeValue = 0 to def __init__() of class TVOverlay(xbmcgui.WindowXMLDialog). After this, I can be use settings over samba.

It's ok? It's a goodie pratice?

@Steveb1968
Copy link
Owner

Steveb1968 commented Nov 18, 2019

Yea mate that's all good, it's the default setting anyway.
I can add that if you like, plus I'll clean up that setting.

@rafaelvieiras
Copy link
Contributor

I can add that in my next PR! 😄

I think about a roadmap or a TODO.md file, for list things to fix basic bugs and steps to prepare add-on for kodi oficial repository.

@Steveb1968
Copy link
Owner

Just a txt file is good enough for me. :) And this addon will never be in the Kodi repo!

@rafaelvieiras
Copy link
Contributor

Ok!
😮 Why never? This is a perfect addon for this! Not use piracy! Is simple to use!

@Steveb1968
Copy link
Owner

The Kodi Repo is Lunatixz's puppy! This is one of my hobbies.. :) I just can't let this addon stop working! :)

rafaelvieiras pushed a commit to rafaelvieiras/script.pseudotv that referenced this issue Nov 23, 2019
@Technobob
Copy link

A workaround for this is to map your network shares
If you're using Libreelec here is how to do it and in Windows right click your shares and select map drive and assign a drive letter.
https://libreelec.wiki/how_to/mount_network_share

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

No branches or pull requests

4 participants