Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Would like some Code Help

Featured Replies

I run XBMC like a lot of others and wanted to know if somebody would/could do some coding for me if they are well bored. ;) I use an app called MIP (Media Info Plus) for generating thumbs, fan art and grabbing the plot info. I have a folder on my XBMC machine called Images/TV/Fanart and my backgrounds ramdomly rotate when Im looking at the TV section, but honestly I keep forgetting to put forth the effort to dig thru my files and create individual images so it has something to rotate thru.

 

This is what I would like, but any help in where or how would be great.

- Run script

- Script would dive into /mnt/Tv/shows and look for fanart.jpg

- Script would find each fanart.jpg and note folder directory name and copy/rename file to /mnt/Tv/fanart, for example. Chuck-fanart.jpg

 

In the end I would have all my shows in /mnt/Tv/shows

Chuck-fanart.jpg

Mash-fanart.jpg

Weeds-fanart.jpg

on and on..............

 

I'm not trying to sound like an ass by asking, but its something I could use, but my skills are rather limited and it would be great if there was somebody who would use it or maybe use something like it. Maybe I would install it directly on my XBMC machine and have it run it and load up the images where they should go saving me all the effort in the end since it is running Linux.

I have found and updated a script that will do some of what you ask, it will go into your cache and copy all your fan arts into two folders (TV and Movies) inside a set folder. But it will not rename them so you will have 24b86.tbn which you wont be able to tell what it is untill you open it but if you are using this only as a folder for your screen saver to use it wont really mater what it is named.

 

Here is the forum post talking about it:

http://forum.xbmc.org/showthread.php?t=56153

 

Though the current version has a problem that I have fixed so here is my version. I have tried it and it works pretty well, will keep on working on the renaming problem.

 

script.video-fanart-splitter-0.2.0.zip

  • Author

That cracks me up. I'm on that page, but it never worked for Linux. I'll check it out a bit later. thanks for bringing it up.

I didnt work because of a simple error with case sensitivity, I have fixed it try loading my zip file, I just ran it on a Linux system and it ran fine

  • Author

Ok grabbed it. I'm running 9.04 because well its worked flawlessly for me and I haven't had any issues. I don't have the addons menu so is there an easy way to just drop this in somewhere or am I out of luck?

Oh I dont think it will work with 9.X I think you should think about upgrading to 10.1 it is quite stable, but dont do it simply for this script. I will see if I can find or work with a different (non XBMC) script since you really dont need it to run from XBMC do you?

  • Author

Nope I don't mind running it directly on my unraid server. Honestly I don't really care what the output of the file name is. I just figured keeping it nameoffolder-fanart.jpg would be pretty straight forward, but I have no objections to anything since I've grown really accustomed to logging via SCP and copying files over to:

.xbmc/images/Movies/

.xbmc/images/TV/

 

I attempted once to upgrade to 10.1, but honestly I had all kinds of issues with flickering or my Xbox Dongle/Remote was buggy so I just said Bah for now. LOL Some day I'll update my AsRock ION 330. There are so many cool things with the newer builds

 

I'm more or less looking for some example code now to try and bake it up myself if I have to. I just figured there are some pretty smart people here that might be up for a challenge or two. ;)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.