-
Notifications
You must be signed in to change notification settings - Fork 5
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
Incorrect syntax error #4
Comments
I have not done any testing with Eden yet, and likely won't have any time to do so until Eden's final release or closer to it. Do you get the same results with xbmc 10.1? All testing/development was done against xbmc 10.x on win7, so unless there's been some changes or bugs introduced with 11.x I would have expected it to work fine. One thing that seems a little strange is the trailing '' on the end of the file name too. Not sure yet why that is happening and if it is meaningful or not. |
I thought the same thing about the final backslash. I will test on Dharma. Thanks for the response and I hope I get this to work because the builtin "date added" is pretty worthless to me. |
hey joe, your script is incredibly valuable to me. with Eden Beta 1, this issue is cropping back up. It seems you guys are correct, there is a trailing / being applied (i'm on windows 7 using smb://) that is ruining the file path. same errors as in the pastbin. it looks like the script just needs adjusted for the new filepath being exported from Eden and we'll be back on track. is there any way I can ask you to consider reviewing now that we're in Beta and more people are upgrading? thanks! (let me know what help I can provide) |
Hey guys, I finally found some time to start looking deeper into this. I downloaded Eden Beta2 to my workstation this morning and did some testing. I created a new branch in the repo called The patch is super basic right now. Instead of calling xmbc's makeLegalFilename on the filename portion, we only call it on the path since it appears this function is adding the trailing / to the path name. I also added some additional logging to help as we debug futher. The patch is also viewable here: b7f416d |
Update: after further testing, it's still not working even without the trailing '/' on the filename. still investigating. |
Ok, I finally found the info I was looking for: http://wiki.xbmc.org/index.php?title=Eden_API_changes The move to an external python in Eden means we can't access smb:// files through the os.stat() method anymore. I tried both xbmc.translatePath() and xbmc.validatePath() but neither work on smb:// as stated by jmarshall here: http://forum.xbmc.org/showthread.php?t=97989 The proper way to access smb:// files would seem to be use the new I think the best way to restore functionality would be to add a |
thanks for your work on this joe. i'm happy to help ask whoever necessary to consider this. do you have a recommendation on best next step? |
I'm not familiar with the XBMC community or development process, but my inclination is to seek out the person who maintains xbmcvfsmodule.cpp and ask his thoughts on adding a Failing that, one of us could take a stab at it. It may not be difficult code to add, the problem for me is preparing a win32 build environment for XBMC. My C++ is rusty and i've literally never built code on windows, only unix boxes, so i'm hesitant about sinking all that time into it. |
I posted in the xbmc forum's "feature request" section. Not sure if this is the correct process, but it seemed like the best place to start: http://forum.xbmc.org/showthread.php?t=120799 |
Amazning idea. |
Hey all, I just noticed that this plugin is not really needed anymore, at least not in the current implementation. There is a new field I have a sample ruby script |
Hi Joe, Thank you for creating this tool for people to make use of. It's good to see that the XBMC team has implemented changes to the database structure that allow users to address the dating issue! Regarding your most recent post in which you refer to a ruby script in the root of the repo...I do not see the file listed. I recently re-imported my video library and was hoping to use it to correct the dates on both my movies and tv shows. Would you mind double checking to make sure that it is indeed available? Thank you very much! |
it's pushed now. |
Thank you Joe! |
Windows 7, XBMC 11-21 Eden nightly. When I do the sort it completes almost instantly, debug log ( http://pastebin.com/v34eHNdf ) shows same error for every movie, e.g.: "OSerror: The filename, directory name, or volume label syntax is incorrect, file: L:\movies\The Shining 720p q92 perf0.wmv". Is this somehow related to makeLegalFilename?
The text was updated successfully, but these errors were encountered: