Jump to content


Photo

how to re-initialize database?

database initialize cleaning reinit

  • Please log in to reply
4 replies to this topic

#1 singer36 OFFLINE  

singer36

    Member

  • Members
  • 18 posts
  • Local time: 05:27 PM

Posted 13 December 2015 - 06:36 PM

Hello all !

 

I am a long term (years...) user of KODI (@Ubuntu). For the last years, I have been looking for streaming my contents out of my home... and succeeded with BubbleUPNP. Very good also, but not secure data flow, no 'friends' management interface, ...

I started to read for new solutions... like PLEX and EMBY. And well... I decided to go for Emby (open source is my friend).

 

First thing: It looks great. Very great.

 

But (there is always a but :) ), I have a few issues:

 

- During scan, some 'folder.jpg' are created multiple times ! why?

/var/lib/emby-server/metadata/library/**/************/folder.jpg.

i was able to find among those folders 6 times the same jpg! (for the same music album)!!

 

- since i was doing some tests, i wanted to clean the database to restart with real folders.

How do i do that? the library folder is never cleaned!?

 

- If I have some elements scanned already, and then i decide to change the metadata management, and choose a new 'metadata folder location, or switch to 'save images and nfo files in media folders'. This does not seem to have any impact. Why?

 

I searched the forum & wiki but did not find answers. Sorry if it has been answered already.

 

thanks and again : very good work



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156879 posts
  • Local time: 12:27 PM

Posted 13 December 2015 - 07:29 PM

Hi, welcome.

 

Currently if you change your metadata settings, it's for new metadata going forward. We don't do any kind of mass-migration as those kinds of things tend to be very risky and create more problems than they solve.

 

As far as the duplicate folder.jpgs, can you give a specific example? how did you discover that?



#3 singer36 OFFLINE  

singer36

    Member

  • Members
  • 18 posts
  • Local time: 05:27 PM

Posted 14 December 2015 - 06:15 AM

hello Luke (nice profile pic btw :) )

 

well, I chose linux because i like to know where are the data... and i started browsing the emby folder structure... that's how i discovered it.

(I am testing Emby with initial 5 music album, 2 photo albums, 2 movies, 2 tv show...).

 

I think i have understood:

=> emby is creating one 'folder.jpg' (in metadata/library/...) per song ! => is that expected behaviour?

=> even if i have the 'save image and metadata in the media folder' option checked

=> artist/album image+nfo files created (as expected) in media folder.

PS: my music library is very well tagged, and I have a clean folder structure : music/<artist>/<album>/<song>.mp3

 

Once i have finished my 'evaluation' of emby, how can i re-initiate my install? (really clean/flush databases...)

shall i uninstall / delete remaining files / reinstall emby package?

 

thanks



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156879 posts
  • Local time: 12:27 PM

Posted 15 December 2015 - 04:20 PM

emby is creating one 'folder.jpg' (in metadata/library/...) per song ! => is that expected behaviour?

do the songs all have the same artist and album tag?



#5 singer36 OFFLINE  

singer36

    Member

  • Members
  • 18 posts
  • Local time: 05:27 PM

Posted 16 December 2015 - 05:45 AM

yes ! all is very well taggued :)

Usually, my songs include a cover in the tag... (each mp3 includes a jpg cover)

 

But I just saw that, by default, the Metadata service for 'songs' is configured to download 'primary' image.

Maybe this is the (simple) explanation?

 

I have unchecked that and will see what happens... will keep you posted.


Edited by singer36, 16 December 2015 - 06:29 AM.






Also tagged with one or more of these keywords: database, initialize, cleaning, reinit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users