2011-02-10, 11:41
deraaij Wrote:Hi Amet,The line probably needs to be changed to:
After 2.3.0 i have a problem using the Bierdopje subtitle service. (using Openelec)
I get an error:
Error no susch file or directory:
'Special://profile/addon_data/script.xbmc.subtitles/bierdopje_show_ids.txt'
I have looked at the debugging and there is no useful info rather than:
NOTICE: special://masterprofile/ is mapped to: /storage/.xbmc/userdata
NOTICE: special://profile/ is mapped to: special://masterprofile/
I looked at the service.py and made the following change and it worked:
#showids_filename = os.path.join( __settings__.getAddonInfo('profile') ,"bierdopje_show_ids.txt" )
showids_filename = "/storage/.xbmc/userdata/addon_data/script.xbmc.subtitles/bierdopje_show_ids.txt"
As far as i can see it refers to the same location but if i harcode it it works?
Any idea?
Thanx in advance!
showids_filename = os.path.join(xbmc.translatePath( __settings__.getAddonInfo('profile')),"bierdopje_show_ids.txt" )
I'll check it when I'm at home and will create a patch for Amet to include in a new version.