Jump to content

Recommended Posts

mickle026
Posted (edited)

This is currently for testing purposes only - use at your own risk

Use on a test library before even attempting to use on your main server.

Plugin For Albums in their own folders !

Emby doesnt seem to be able to do this correctly , every track gets the first ones scanned embedded image.  Unless i am doing it wrong. ??
But doing it this way it makes absolutely no difference what the embeded images are or what emby does or doesnt do, you are in control.

Use it with realtime scanning then you dont have to mess with embys metadata editor, only to loose all the settings if i have to redo anything.
You can drop an artist image in the folder or a track Image (I use singles cover images for the tracks- i like them that way) and it just adds it when RTM picks up a change, or a refresh metadata happens.

So the EXAMPLE album cover is the 1977 one

Screenshot2024-08-31at17-39-39BillboardHot100.png.2fc79164d676dd6c9a16e8212c07e980.png

but the track covers are all different

Screenshot2024-08-31at17-31-51TonightsTheNight.thumb.png.b3f5823bb575c75c066db6293223bea9.png

 

Its a local Metadata Reader , so it scans the local directory when any metadata refresh happens or library scan happens.  Set settings in Library Edit screen.

 

It doesnt use embeded images, it looks for an image with the same name as the track name

31_08.2024_17_05.31_REC.png.16567a5942f09a2d3de5c0cbe3468f4a.png

 

31_08.2024_17_12.23_REC.png.67b702714ae28f34e4b11294cbae789d.png

 

I dont think I ever publically posted it before??? - probably because I never officially finished it!

I cannot remember but I think they can be in subfolders too.

Anyway it scans the local directories for song track covers, album covers and artist images. - nothing embeded!

 

(supports jpg/gif/png/bmp/webp/tiff)

Album covers will be

Poster.jpg
Cover.jpg
Front.jpg
folder.jpg
1.jpg
0.jpg
f.jpg
filename-front.jpg
filename-poster.jpg
R-xxxxxxxxxxxx.jpg     // this one is for directly downloaded discogs R- filename images

Artists are the same but name can be hyponated, underscored etc, probably can be in a sub folder.

Rod Stewart.jpg
Rod-Stewart.jpg
Rod_Stewart.jpg

Song Tracks Must be the same as the mp3 filename, but with a different extension

Album cover backdrops are also supported by the plugin

*-backdrop*.jpg
*-background*.jpg
*-landscape*.jpg
*-fanart*.jpg
backdrop*.jpg
background*.jpg
landscape*.jpg
fanart*.jpg

As it assigns the local image, beware that if you remove the image in emby it will probably remove the image from the drive (I cannot exactly remember if it does or not).  I know it just returns a result to emby, so it probably depends on your settings within emby.

if you are on windows and want to extract your embeded album art you can create a batch file and use ffmpeg (copy them both to the album directory and run it)

Batch file contents - for jpg extract from mp3s
for %%f in (*.mp3) do ffmpeg.exe -i "%%f" -an -vcodec copy "%%~nf.jpg"


Anyway you are welcome to try it (as always with my plugins - try at your own risk)

If you do try it, create a test library first becuase I have not tested the Album backdrops work correctly! - they should...

 

Still to do... whenever I can be bothered.

 

Make a config screen so you can dissable the logging - sorry its just on for now!

LocalAlbumCoverImporter.zip

 

Fixed Artist Import Throwing Errors into Emby Main log, and now only scans the current directory (test code was looking in all directories that the artist existed on tracks)

LocalAlbumCoverImporter-12.09.2024.zip

Edited by mickle026
title rename
  • Like 2
  • Thanks 1
Posted

Thanks for sharing.

mickle026
Posted

Updated, See Post 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...