• 1
  • 11
  • 12
  • 13
  • 14(current)
  • 15
[RELEASE] script.extrafanartdownloader
For all Eden11.0 users:

Due to the large expansion of supported artwork by this add-on we decided to rename the add-on to: Artwork Downloader.

Currently this is not yet available from the XBMC-repo because we want some more testing before adding it.
For future support of the new add-on we re-direct you to this thread:
http://forum.xbmc.org/showthread.php?tid=114633
Test version is available for the brave users among us.

Dharma10.1 users:

No further development will take place because it's to much work to support both. If necessary minor bug-fix version will be released.
It will remain Extrafanart Downloader.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
http://paste.ubuntu.com/758023/

As per the post i made earlier: http://forum.xbmc.org/showthread.php?tid=116036

I guess I should've known to hunt this thread down instead of making a new one...

thanks
Reply
argh! Wrote:http://paste.ubuntu.com/758023/

As per the post i made earlier: http://forum.xbmc.org/showthread.php?tid=116036

I guess I should've known to hunt this thread down instead of making a new one...

thanks

There is nothing in there concerning Extrafanart downloader.
I need the log when you have run the add-on.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Ah nevermind, i figgered it out..

Great plug-in.
Reply
Perhaps I should be starting my own thread...but maybe I'll post here first and see if anyone can help.

I'm having trouble using scripts that write to the my NFS server. I'm using the latest artwork script downloader 1.0.1 (although this has been an issue I've been having since I made the switch to NFS a month ago...the previous scripts extrafanart.downloader and logo one also gave the same "nfs_pwrite_async" error message)

Here's my log
http://pastebin.com/zWa4qnLC

Pretty much all of the artwork is not copied over as it says:
Code:
20:52:15 T:2961149952  NOTICE: Artwork Downloader: Downloaded successfully: banner.jpg
20:52:15 T:2961149952 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //TV/8 Simple Rules/banner.jpg
20:52:15 T:2961149952   ERROR: Failed to pwrite(media/WDBACKUP/TV/8 Simple Rules/banner.jpg) nfs_pwrite_async failed
20:52:15 T:2961149952   ERROR: Cache - Failed write to file nfs://172.16.1.114/media/WDBACKUP/TV/8 Simple Rules/banner.jpg
20:52:15 T:2961149952   DEBUG: CFileNFS::Close closing file media/WDBACKUP/TV/8 Simple Rules/banner.jpg
20:52:15 T:2961149952 WARNING: Artwork Downloader: Could not copy file (Destination may be read only), skipping: u'nfs://172.16.1.114/media/WDBACKUP/TV/8 Simple Rules/banner.jpg'
20:52:15 T:2961149952   DEBUG: Artwork Downloader: Finished with: banner

The "nfs_pwrite_async failed" is always the error. It's not a permissions issue, as you'll see just a few lines down from that, it DOES successfully copy over an artwork:

Code:
20:52:15 T:2961149952   DEBUG: Artwork Downloader: Starting with processing: defaultthumb
20:52:15 T:2961149952   DEBUG: Artwork Downloader: ID of downloaded image: 676351
20:52:15 T:2961149952  NOTICE: Artwork Downloader: Downloaded successfully: folder.jpg
20:52:16 T:2961149952 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //TV/8 Simple Rules/folder.jpg
20:52:16 T:2961149952   DEBUG: CFileNFS::Close closing file media/WDBACKUP/TV/8 Simple Rules/folder.jpg
20:52:16 T:2961149952   DEBUG: Artwork Downloader: Copied successfully: nfs://172.16.1.114/media/WDBACKUP/TV/8 Simple Rules/folder.jpg
20:52:16 T:2961149952   DEBUG: Artwork Downloader: Skipped. Reason: Max number defaultthumb reached: 1
20:52:16 T:2961149952   DEBUG: Artwork Downloader: Finished with: defaultthumb

So i'm not sure what else I should be looking at. I can connect to the NFS server outside XBMC and can write to just fine.

Any ideas?

EDIT: I checked to see if I could transfer files in file manager. At first I thought that was okay, because i just tested with a small xml file from the Profile directory...but when I went back in and tried to transfer a larger file, it gave the same error. I narrowed it down to 64 KB, anything more than that, it gives the error.
Reply
kossatzd Wrote:Perhaps I should be starting my own thread...but maybe I'll post here first and see if anyone can help.

I'm having trouble using scripts that write to the my NFS server. I'm using the latest artwork script downloader 1.0.1 (although this has been an issue I've been having since I made the switch to NFS a month ago...the previous scripts extrafanart.downloader and logo one also gave the same "nfs_pwrite_async" error message)

So i'm not sure what else I should be looking at. I can connect to the NFS server outside XBMC and can write to just fine.

Any ideas?

EDIT: I checked to see if I could transfer files in file manager. At first I thought that was okay, because i just tested with a small xml file from the Profile directory...but when I went back in and tried to transfer a larger file, it gave the same error. I narrowed it down to 64 KB, anything more than that, it gives the error.

Sounds like something in your server setup that is causing this. Especially if Logo Downloader also had the same problem and you can't even copy using the file manager.
I have no NFS server setup to help you out on this. Maybe @paddycarey or some one else can give some hint on what this could be causing.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
well i can copy using the file manager...it's just that whenever the file is larger than 64 KB, it fails...soooo not too useful.
Reply
Sounds like a server problem, you sure permissions are right and UID/GIDs are identical on XBMC/Server?

you also mentioned you can use NFS just fine outside xbmc, is there a reason you can't just mount the NFS share normally and just access it like a normal filesystem in xbmc, bypassing xbmc's NFS code?
Reply
Yup, same UID/GID's match on all machines. So no need to do any squash/anonuid in my export. Here is what I have for my export:

/media/externalDrive 172.16.1.111(rw,insecure,no_subtree_check)

I'm not mounting the share outside of XBMC and accessing it like a normal filesystem is because I have a shared mysql database so that I can use multiple computers and have the same library. And the computers are a mix between mac's and pc's...so I can't have the database saying "/media/externalDrive" because that path will never make sense on the PC. And if I try to do path substitution for that, it creates new database entries so nothing is sync'd.
Reply
what do your server logs show for the failed transfers?
Reply
oh sorry umm...hmmm where would they be? I'm sorta new to linux...I just installed nfs-common and nfs-kernel-server and setup my /etc/exports file. Not sure where the logs go

EDIT: /var/log/syslog just has...don't know where else to look

Dec 4 12:18:19 DKLINUX rpc.mountd[1609]: authenticated mount request from 172.16.1.113:59688 for /media/externalDrive (/media/externalDrive)
Reply
does it fail on all your boxes or just some?

I noticed you're only exporting to 172.16.1.111 but trying to mount from 172.16.1.113, could that be the problem?

Been a long time since i've used NFS but if that's the only line in your log there's not a lot to go on. Still think it could be a permissions issue though.

Does it work absolutely fine when you mount it outside of xbmc?
Reply
All boxes fail.

I just grabbed the last line in the exports file, there is another one in there exact same for 113.

Yup, on my mac and pc, I'm able to transfer files if I mount to the NFS export just fine.
Reply
Seems like it's probably an xbmc bug then, you should probably file a trac ticket and see if someone with more knowledge of NFS can help you out.
Reply
having the same issue as the OP.

The media library is hosted centrally on a ReadyNAS Ultra 4. access to the media was over SMB but I have now changed to NFS to stop stuttering and split-second dropouts because of the method of access.

I cannot enable write permissions to this share over SMB for the HTPC because any windows machine with thumbnail viewing or media player/media center installed will replace all album art with low quality AlbumArt and AlbumArtSmall.jpg files, mark any folder.jpg files as system files (and therefore hidden) as well as create desktop.ini and thumbs.db files in EVERY folder with media content.

The Thumbnails folder has been symbolically linked to a separate share on the NAS over SMB. A MySQL database is also running on the NAS serving 3 windows machines. 1 HTPC (Main entertainment system running xbmc), the main desktop pc (also running xbmc for testing purposes), and a laptop in the bedroom that serves as my media hub while in bed (also running xbmc).

However, testing of nfs writability outside of xbmc isn't possible because none of my systems have a version of win7 higher than pro. And pro does not contain nfs support.

the extrafanart folders are all created on the media shares, and srt subtitles for all my movies have been written to the share over nfs. but all the extrafanart folders checked so far are empty, and a check of xbmc.log gives me exactly the same error as the OP. So small files work, graphics (due to size) fail.

options initially tried in the NAS gui were async write, and root privileges by ip. neither of these settings seem to have any effect.

i have zero linux knowledge, and my only linux based system is the NAS itself.

There also seems to be an issue with pre-Eden web gui not working (i.e: it still using the local db) if the sqlite db is allowed to be created (on first run) but not populated, and then a mysql db used for subsequent runs via advancedsettings.xml, but that's for another post/topic.
Image
Reply
  • 1
  • 11
  • 12
  • 13
  • 14(current)
  • 15

Logout Mark Read Team Forum Stats Members Help
[RELEASE] script.extrafanartdownloader2