Media Companion 3 beta's - Now with Music Video support

  Thread Rating:
  • 5 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vbat99 Offline
Posting Freak
Posts: 2,094
Joined: Aug 2009
Reputation: 53
Location: New Zealand
Post: #3841
(2017-03-05 06:08)denywinarto Wrote:  Hi.. got a question ..

I'm still unclear whether this can manipulate kodi database directly?
I need a tool that can manipulate kodi database directly, updating via kodi /JSON has 2 issues for me :

- Kodi needs to be open on server, my diskless setup does not allow this, long story short opening kodi will lock the database and diskless client wont be able to access it..
- I frequently get "unable to connect to server" due to thetvdb's unreliable uptime... (is there no known way to "auto-yes" the message?)

For now i'm using a dirty workaroung by symlink the userdata and syncronizing it using syncovery.. but it still locks up if a client boots then the server updates kodi..

Currently Media companion can update Movies only to Kodi database via JSON. But, this is slow. It was added some time ago, and I do not know how the code works to improve it, or to add TV to the update.

Have you looked at texturecache.py and it's other python script, mklocal.py

They may be of help, I'm not sure though.

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
find quote
denywinarto Offline
Fan
Posts: 429
Joined: Jun 2012
Reputation: 3
Post: #3842
(2017-03-05 08:01)vbat99 Wrote:  
(2017-03-05 06:08)denywinarto Wrote:  Hi.. got a question ..

I'm still unclear whether this can manipulate kodi database directly?
I need a tool that can manipulate kodi database directly, updating via kodi /JSON has 2 issues for me :

- Kodi needs to be open on server, my diskless setup does not allow this, long story short opening kodi will lock the database and diskless client wont be able to access it..
- I frequently get "unable to connect to server" due to thetvdb's unreliable uptime... (is there no known way to "auto-yes" the message?)

For now i'm using a dirty workaroung by symlink the userdata and syncronizing it using syncovery.. but it still locks up if a client boots then the server updates kodi..

Currently Media companion can update Movies only to Kodi database via JSON. But, this is slow. It was added some time ago, and I do not know how the code works to improve it, or to add TV to the update.

Have you looked at texturecache.py and it's other python script, mklocal.py

They may be of help, I'm not sure though.

JSON update requires kodi to be open isnt' it ?
I need external updater that can update the database without opening kodi
Those scripts are for fixing corrupted database i think...
find quote
vbat99 Offline
Posting Freak
Posts: 2,094
Joined: Aug 2009
Reputation: 53
Location: New Zealand
Post: #3843
New Release.

Media Companion 3.674b
Revert OMDBApi custom url as no longer required.

New:
  • TV - user rating tag for TV-Shows/Episodes
  • TV - Added ability to manually set Episode IMDB Id. Right click Episode IMDB text box to edit.
  • TV - Added HDR fanart overlay. Note: HDR = Number of Bits is greater than 8 bit encoding.
    Movie - Special new option, allow non IMDB Id's as IMDB Id's. This is to allow actor and director filters to work with movies not scraped from IMDb, and have foreign Id's in the nfo with first character as Alpha. Option in Movie Preferences -> Advanced Tab. See Issue: https://mediacompanion.codeplex.com/workitem/1562
  • Movie - Press F6 to Reload movie cache.
  • Movie - Added: Hdr fanart overlay & filter. Note: HDR = Number of Bits is greater than 8 bit encoding.
Fixed:
  • MC - Revert addition of custom Omdbapi url, as no longer required.
  • Movie - Tweaked status message on Change Movie.
  • Movie - Log correct search name for movie in Log file.
  • Movie - Bug fix - Discard possible year if junk value.
  • TV - XBMC TVDb clear languages before repopulating. Doh!
  • TV - Allow create screenshot instead of downloading Episode Thumbnail.

And, Please, if you experience any crashes, post up an Issue on Media Companion's site
Feedback would be appreciated.

Download Link for MC 3.674b x86 & x64

Revision History

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
find quote
Edworld Online
Posting Freak
Posts: 1,172
Joined: Sep 2014
Reputation: 7
Location: Michigan
Post: #3844
vbat99,

If I click on any given movie, then fanart, I see "1 missing" below next>

What am I missing?
find quote
vbat99 Offline
Posting Freak
Posts: 2,094
Joined: Aug 2009
Reputation: 53
Location: New Zealand
Post: #3845
(2017-03-19 07:14)Edworld Wrote:  vbat99,

If I click on any given movie, then fanart, I see "1 missing" below next>

What am I missing?

The "1 missing" is an indicator that one movie in Media Companion has the fanart missing.
Use the General Filter, and scroll down till you see the option Missing Fanart(1). Select it, and only the movie that has the missing fanart will be listed.
If this movie has Fanart, then please advise what its fanart filename is, Where it is, What type of video ie: DVD, dvd folders, iso, blu-ray folders etc.

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
find quote
trogggy Online
Posting Freak
Posts: 2,476
Joined: Mar 2011
Reputation: 118
Location: Monthou sur Cher, France
Post: #3846
I'm currently trying to update / tidy stuff that's been scraped over the last few years, and running into a few issues along the way. The current one that has me banging my head on the desk...
I use a mixture of TMDB and custom sets. Is it / should it be possible to edit (add!) a set overview for a custom set? I can't see a way to make it work - on the other hand MC will let me put extra movies into a TMDB set, but the set overview isn't updated in the movie .nfo file.
Not sure how it should work / what should be possible. Thanks in advance for illumination.
find quote
vbat99 Offline
Posting Freak
Posts: 2,094
Joined: Aug 2009
Reputation: 53
Location: New Zealand
Post: #3847
(2017-03-27 15:08)trogggy Wrote:  I'm currently trying to update / tidy stuff that's been scraped over the last few years, and running into a few issues along the way. The current one that has me banging my head on the desk...
I use a mixture of TMDB and custom sets. Is it / should it be possible to edit (add!) a set overview for a custom set? I can't see a way to make it work - on the other hand MC will let me put extra movies into a TMDB set, but the set overview isn't updated in the movie .nfo file.
Not sure how it should work / what should be possible. Thanks in advance for illumination.

Overview was added a short time ago, so I will look into this and check I coded this to repopulate all movies in the set if the overview is edited.

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
find quote
trogggy Online
Posting Freak
Posts: 2,476
Joined: Mar 2011
Reputation: 118
Location: Monthou sur Cher, France
Post: #3848
Thanks. I've tried again to add an overview for a custom set, without success. I ended up adding it manually - it's seen in kodi but not in MC now. I added some files to a TMDB set that shouldn't have been in it - the overview seemed to be written to some .nfo's but not all.
If I know what the expected behaviour is I'm happy to do some testing.
find quote
vbat99 Offline
Posting Freak
Posts: 2,094
Joined: Aug 2009
Reputation: 53
Location: New Zealand
Post: #3849
(2017-03-27 21:00)trogggy Wrote:  Thanks. I've tried again to add an overview for a custom set, without success. I ended up adding it manually - it's seen in kodi but not in MC now. I added some files to a TMDB set that shouldn't have been in it - the overview seemed to be written to some .nfo's but not all.
If I know what the expected behaviour is I'm happy to do some testing.

So the issue is that we store custom sets in the config.xml file, and TMDb sets in moviesetcache.xml. As TMDb sets have a 'Set' Id, we can store all movies that are associated with the 'Set' and the overview if one is available.
Custom Sets, there is no set ID.

I'll have a think on how to implement adding Overview to Custom Sets, so that it will populate all movies associated with the customer set if overview is edited.
Then will have to figure out a way to add overview to any movie added to the custom set.

Interesting, but not impossible.

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
find quote
trogggy Online
Posting Freak
Posts: 2,476
Joined: Mar 2011
Reputation: 118
Location: Monthou sur Cher, France
Post: #3850
Thanks for looking at this - and for the explanation, the issue makes sense (to me) now. For the moment I'm adding overviews manually, which I'm going to assume will cock everything up if and when MC handles them.
find quote
Post Reply