I'm running on a Dockstar (Pogoplug clone), but I'm running Plugbox Linux. I'm probably more surprised that using 0.jpg has always worked for me than that it doesn't work for you.
I'll put this in the next update, but for now you can edit
mymedia.py in the server directory (using your favorite text editor). Find the
getart routine. It starts with:
def getart(path):
Go down towards the end of the routine and you'll see:
for base, dirs, files in os.walk(path):
# don't recurse when searching for artwork
del dirs[:]
Add these lines after the blank line after those lines:
# look for a 'folder' image
for file in files:
fp = os.path.join(base,file)
fn = os.path.splitext(file)[0].lower()
ext = os.path.splitext(file)[1].lower()
if ext and img_re.match(ext) and (fn == "folder"):
return fp
# no 'folder' image, look for any image
You should be able to copy and paste, but make sure the indentation matches the similar
for file in files: block that will be right under the lines you add. Make sure you restart the server after you make the change.
I've only given it minimal testing, but it should work. Just add a file named folder.jpg, folder.jpeg, or folder.png (JPEGs are recommended unless you use 300x300 PNGs so they are the correct size) to your folder and it should be picked up. Let me know how it goes.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.