[RELEASE] Artist Slideshow Helper
#16
(2014-02-24, 03:51)bolter Wrote:
(2014-02-23, 20:08)pkscuot Wrote: I don't generally test until a XBMC version reaches beta status and don't have any equipment upon which I can test nightly builds. That said, if you'll post a debug log, I'll take a look at it and see if anything jumps out.

Here is the log file. I don't get any error messages, I just get empty txt files (Which I gather is supposed to be filled with the information I need)

http://pastebin.com/YrNh3ME4

I think I found the issue. I'm not sure if it's related to Gotham or that the python version is 2.7, but it looks like the json module needed to parse information from XBMC didn't load right. I've made a change I think should solve the problem. All I can say for sure is that it still works on my test machines, so I haven't broken it any worse. Wink Try the 0.3.1.1 beta:

https://github.com/pkscout/script.artist...master.zip
Reply
#17
(2014-02-24, 04:15)pkscuot Wrote:
(2014-02-24, 03:51)bolter Wrote:
(2014-02-23, 20:08)pkscuot Wrote: I don't generally test until a XBMC version reaches beta status and don't have any equipment upon which I can test nightly builds. That said, if you'll post a debug log, I'll take a look at it and see if anything jumps out.

Here is the log file. I don't get any error messages, I just get empty txt files (Which I gather is supposed to be filled with the information I need)

http://pastebin.com/YrNh3ME4

I think I found the issue. I'm not sure if it's related to Gotham or that the python version is 2.7, but it looks like the json module needed to parse information from XBMC didn't load right. I've made a change I think should solve the problem. All I can say for sure is that it still works on my test machines, so I haven't broken it any worse. Wink Try the 0.3.1.1 beta:

https://github.com/pkscout/script.artist...master.zip
That work fine.
Thank you
Reply
#18
NEW BETA

v.0.3.2.1
- support for remote file systems

https://github.com/pkscout/script.artist...master.zip

This version should now allow you to set the various folder paths using any path supported by XBMC without having to map a drive in your OS. So things like smb and nfs should work now.
Reply
#19
Hello,

thank you for the great addon Artist Slideshow and this little helper. It works fine.

But I want to ask, if it's possible, to prevent the helper from adding new folders for artists when copying or moving new pictures.

Thanks in advance.

Gus
Reply
#20
(2014-05-13, 21:54)Gussel Wrote: But I want to ask, if it's possible, to prevent the helper from adding new folders for artists when copying or moving new pictures.

So I think what your asking is for AS Helper to look at the destination directory and only move images if you've already created the artist folder. If I've understood that correctly, then the short answer is no. AS Helper was designed specifically to move artist images out of the default cache directory and to a new location automatically. I'm sure it's possible to adjust the code to to what you want, I just don't think I'm going to find time to do that.
Reply
#21
Hello,

yes, you understood it correctly. I've asked, because I don't want to have AS Helper create folders for artists who only appear in my music library with one or two songs within compilations.

But if you don't have time, to adjust the code, I will simply delete these folders as I did until now. No matter.

Thank you for your answer. Smile

Gus.
Reply
#22
NEW BETA RELEASE

v.0.3.3.2
- added option to suppress all logging

https://github.com/pkscout/script.artist...master.zip

This is a really minor release that adds the option to suppress all logging. Because I had to add a setting, it'll be awhile before all the translations catch up. So this probably won't get pushed into the repo for quite a bit. But if you really need to have the option to suppress logging, you can use this beta.
Reply
#23
Haven't launched AS-helper in a while, but now getting errors. Gotham 13.1. AS 1.6.8. AS-Helper 0.3.5. Log File.

thanks
Win10x64 Pro. Intel Core2Duo E8500 3.26GHz on Gigabyte GA-EP43-UD3L. 4GB DDR2 1066MHz RAM. Nvidia GT240 512MB PCIx16. Multiple displays, including Sony VPL-XW5000ES 4k projector + 100" Da-Lite Cinema screen.
Reply
#24
(2014-07-15, 04:34)curtis-r Wrote: Haven't launched AS-helper in a while, but now getting errors. Gotham 13.1. AS 1.6.8. AS-Helper 0.3.5. Log File.

I'll have to look into this a bit more. I think I see where the problem is, but the thing that is broken shouldn't have gotten created the way it did, or at least that's the theory. The problem seems to be around the smb file path, so if there's any way for you to map the smb drive to a local file path and use that instead, that would work in the interim.
Reply
#25
OK, I think found it. I'll post a new beta tomorrow, but for now if you want to fix it, find fileops.py in script.artistslideshow-helper/resources/common and change everything above def checkPath to:
Code:
# v.0.3.3

try:
    import xbmcvfs
    isXBMC = True
except:
    import os
    isXBMC= False

if isXBMC:
    _mkdirs = xbmcvfs.mkdirs
    _exists = xbmcvfs.exists
    _delete = xbmcvfs.delete
    _file = xbmcvfs.File
else:
    _mkdirs = os.makedirs
    _exists = os.path.exists
    _delete = os.remove
Reply
#26
Yea, I saw the 'smb' error and rechecked my path, and it was good. Thought about mapping it but since it worked this way before...
When I get home today I'll try changing the code if you haven't created a beta yet. Mahalo (just got back from 8 days in Kailua).
Win10x64 Pro. Intel Core2Duo E8500 3.26GHz on Gigabyte GA-EP43-UD3L. 4GB DDR2 1066MHz RAM. Nvidia GT240 512MB PCIx16. Multiple displays, including Sony VPL-XW5000ES 4k projector + 100" Da-Lite Cinema screen.
Reply
#27
NEW BETA

v.0.3.6~beta1
- fix for crash when using smb file paths

Available from my beta channel repo at:

https://github.com/pkscout/repository.be...-1.0.2.zip

or direct download at:

https://github.com/pkscout/repository.be...Ebeta1.zip
Reply
#28
Now no smb error, but getting one regarding renaming files. Of course xbmc is local, and the music share is on my network server (which as always been the case). Just for fun I also tried it using a mapped drive instead of smb with the same result. Here's the log.
Thanks.
Win10x64 Pro. Intel Core2Duo E8500 3.26GHz on Gigabyte GA-EP43-UD3L. 4GB DDR2 1066MHz RAM. Nvidia GT240 512MB PCIx16. Multiple displays, including Sony VPL-XW5000ES 4k projector + 100" Da-Lite Cinema screen.
Reply
#29
(2014-07-16, 02:08)curtis-r Wrote: Now no smb error, but getting one regarding renaming files. Of course xbmc is local, and the music share is on my network server (which as always been the case). Just for fun I also tried it using a mapped drive instead of smb with the same result. Here's the log.

OK, I found that problem too. Apparently the built in XBMC routines to move files don't work if you move from one file system to another (i.e. local to smb). You have to copy the file and then delete it. Go figure.

NEW BETA AVAILABLE

v.0.3.6~beta2
- replaced os.listdir with xbmcvfs.listdir calls to fully support smb
- fix for moving files from local file system to remote file system
- added background progress dialog for artwork migration status

Available via my beta addon repo or direct link at:

https://github.com/pkscout/repository.be...Ebeta2.zip
Reply
#30
NEW BETA AVAILABLE

I found some problems with the background dialog (including one that will cause a crash), so here's 0.3.6~beta3. Available as usual from my beta repo or here:

https://github.com/pkscout/repository.be...Ebeta3.zip
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Artist Slideshow Helper0