Posts: 4
Joined: Aug 2017
Reputation:
0
My previous problems were basically operator error but after getting Mute Profanity installed I consistently get errors like this:
11:07:08.649 T:12180 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.WindowsError'>
Error Contents: (123, 'The filename, directory name, or volume label syntax is incorrect', 'smb://NSA321/video/TV/Mr Mercedes/*.*')
Traceback (most recent call last):
File "C:\Program Files (x86)\Kodi\addons\mute-profanity-master\addon.py", line 39, in <module>
nav.handle(params)
File "C:\Program Files (x86)\Kodi\addons\mute-profanity-master\resources\lib\nav.py", line 188, in handle
srtLoc = finder.getSRT(fileLoc)
File "C:\Program Files (x86)\Kodi\addons\mute-profanity-master\resources\lib\SubFinder.py", line 39, in getSRT
for fname in os.listdir(os.path.dirname(fileLoc)):
WindowsError: (123, 'The filename, directory name, or volume label syntax is incorrect', 'smb://NSA321/video/TV/Mr Mercedes/*.*')
-->End of Python script error report<--
11:07:08.665 T:2948 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.mute-profanity/?id=170&mode=mute-episode
11:07:08.666 T:2948 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.mute-profanity/?id=170&mode=mute-episode) failed
Any ideas?
Posts: 3,641
Joined: Jan 2011
Reputation:
57
bry
Team-Kodi Member
Posts: 3,641
I will ask and see what I can find out for you.
first_time_user (wiki) |
free content (wiki) |
forum rules (wiki) |
PVR (wiki) |
Debug Log (wiki)
IMPORTANT:
The official Kodi version does not contain any content what so ever. This means that you should provide your own content from a local or remote storage location, DVD, Blu-Ray or any other media carrier that you own. Additionally Kodi allows you to install third-party plugins that may provide access to content that is freely available on the official content provider website. The watching or listening of illegal or pirated content which would otherwise need to be paid for is not endorsed or approved by Team Kodi.
Posts: 4
Joined: Aug 2017
Reputation:
0
The solution to the network share problem just occurred to me at least for Windows. Map the folder to a drive letter. I mapped my network folder to Z: and it finally works like a charm. If you haven't done this before Google "Windows 10 map network drive"
Posts: 1
Joined: Nov 2014
Reputation:
0
This effort is much appreciated in my house.
I'm currently trying to get it to work smoothly with our setup. We've got two Kodi installs using a video library hosted on a third computer. So we're getting the network share failures. Hope to see development continue.
Question, would it be possible to run the addon like a script, outside of Kodi, to generate the .edl file and modified .srt? Currently I'm copying a movie and its subtitles to a temporary folder, refreshing the Kodi library, finding the duplicate movie entry within the add-on and generating the files that way. It's a bit cumbersome and is still sometimes creating empty .edl files.
So could this be run outside of Kodi, maybe in a batch process?
Thanks for all your hard work on this.
Posts: 1
Joined: May 2018
Reputation:
0
2018-05-19, 03:05
(This post was last modified: 2018-05-19, 03:07 by probbiethe1.
Edit Reason: edit
)
I think this add on is great and it actually got me started on my quest to mute profanity from my movies, so I am very grateful to the developer and what I say next is not trying to take anything away from the developer.
There is a Windows software out there that you can use to create an .edl from a .srt. Then all you need to do is move the .edl file to the folder with your movie in it. You may need to rename it as well. Not everything is done inside Kodi like with this add on, but it has worked very well for me. The program I am referring to is called EDL File Maker.
i am hoping what I said above doesn't hurt any feelings because I do have a question for the developer. Is it possible to make Kodi use a .edl file for any and every movie that is played through Kodi? Basically wondering if I could tell Kodi to look in folder downloads, and if there is a .edl file there, no matter what the name is, use it for whatever video is being played.
If that is possible could you please create an add on that would make that happen. Preferably that would also work on Android devices. i would be willing to donate for the help.
edit: I meant to quote the post above this one, to answer their question, but also ask my own. I forgot the quote part.
Posts: 1
Joined: Jun 2018
Reputation:
0
2018-06-20, 03:38
(This post was last modified: 2018-06-20, 12:07 by EarlOfSandwich.)
The issue that I had with the tv shows is the way an existing .srt.mpbak file is preferred as the subtitle source for all episodes in a folder.
In /resources/lib/Subfinder.py line 40, the getSRT function looks for any subtitle ending .srt.mpbak. It then returns with that value in line 48, which is used by the addon instead of continuing on in to the next block when checks for the correct name.
As a sloppy, quick workaround, I commented out lines 46-48, which deletes a processed subtitle, renames an unprocessed subtitle, then returns the backup subtitle file name as the original name.
# xbmcvfs.delete(originalname)
# xbmcvfs.rename(os.path.join(os.path.dirname(fileLoc), fname), originalname)
# return originalname
It would probably be more effective comment out the entire block that looks for the backup srt file if you have no interest in the backup srt.
Posts: 2
Joined: Dec 2018
Reputation:
0
I used this successfully a few years ago and we loved it as a family. I promoted it avidly. Coming back after a few years now, I tried to install as a Kodi add-on but was not successful. I am using Kodi 17.6.
Posts: 2
Joined: Dec 2018
Reputation:
0
I used this successfully a few years ago and we loved it as a family. I promoted it avidly. Coming back after a few years now, I tried to install as a Kodi add-on but was not successful. I am using Kodi 17.6.
Does anyone know if this is still functional? Or can it be made to work again? It's a huge need these days.
Posts: 1
Joined: Jan 2019
Reputation:
0
Could you make a plugin or app or whatever for Roku that reads its captions and mutes set words? This would be kinda like TVG only on the Roku and mute live TV or movies just anyhting that the caption signal goes thru. That would be awesome and I'd be willing to pay.
Posts: 3
Joined: Jan 2019
Reputation:
0
Has anyone tested this on kodi 18? Id make the switch to it, if its working there. I dont really want to downgrade from version 17.