Media Companion

Discussion and development board for the program Media Companion.
HomeHome  ­FAQFAQ  ­SearchSearch  ­RegisterRegister  ­Log inLog in  
Post new topic   Reply to topicShare | 
 

 Media Tags

View previous topic View next topic Go down 
Goto page : Previous  1, 2
AuthorMessage
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:05 pm

MarkC wrote:
MarkC wrote:
Hi,

Yes the scantype needs fixing but also as of the latest version aspect still remains blank, I do not beleive I have had one version where it was populated at all.
Further to this, it think it was discussed eariler in this thread, please could you have media tags removed from the .nfo if they are not populated by MC. eg. <codecidinfo> </codecidinfo> from the above example. If the tags are not present them XBMC can (if possible) retrieve this info itself however if the tags exist, although blank, XBMC will not retrieve this info from the file.

Lastly, please could you add an option to remove all <fileinfo> details from the .nfo`s

As always thanks again for all your hard work on this.


Hi,

Sorry to be a pain but is there any timeframe for a fix for the above, currently I have to use MC and Ember to create .nfo's that work correctly. The most important parts are the scantype, aspect and removing non populated tags from the nfo.

Thanks.


There will be a new build at some point over the weekend.

I can't find out why your having an issue with the aspect and scantype since they are working fine for me, out of curiosity are you just rescraping to add the tags, or does new media still contain blank aspect and scantype tags. I ask because MC can only identify the media after scraping under limited circumstances.
The problem is that MC actually only keeps track of the nfo, and in some situations this causes difficulties.
Movietitle.nfo
movietitle.avi is easy

Movietitle cd1.nfo
Movietitle cd1.avi is also straight forward, cd1 is supported by mc and it can look for Movietitle cd2.avi, Movietitle cd3.avi etc

movietitle.nfo
movietitle cd1.avi - not so easy, at the moment MC cannot find this media file, rescraping will not change the Media tags.

movie.nfo
Movietitle cd1.avi - not so easy, at the moment MC cannot find this media file, rescraping will not change the Media tags.

I have a few ideas that will fix this, I can't promise that it will be ready for the next build though, it depends on how much time I get over the weekend.

As for the next build.
As you have requested blank tags are not added to the nfo, the tags on a movie I have just rescraped look like this:
Code:
  <fileinfo>
    <streamdetails>
      <video>
        <width>608</width>
        <height>256</height>
        <aspect>2.375</aspect>
        <codec>XVID</codec>
        <format>XVID</format>
        <duration>1h 31mn</duration>
        <bitrate>923 Kbps</bitrate>
        <container>.avi</container>
        <codecid>XVID</codecid>
        <scantype>Progressive</scantype>
      </video>
      <audio>
        <codec>MP3</codec>
        <channels>2</channels>
        <bitrate>130 Kbps</bitrate>
      </audio>
    </streamdetails>
  </fileinfo>


There is also a couple of ways that all media tags can be removed;
  • You can use the batch rescrape wizard, using the "Rescrape Media Tags" option, if the preference is set not to scrape HD tags then they will all be removed
  • From the next build there is also an option to rebuild all movie nfo's, I added this option because I cocked up the <sortorder> tag, it should have been <sorttitle>, this option means that updates can be applied to all updates without the need to rescrape all movies. If HD tags is enabled then empty tags will be removed, if it is disabled then all the tags will be removed.


These changes have all been added and tested. It was my hope to upload a build yesterday, but have found another unrelated yet critical issue with using google to search for the movie ID, when testing the new build I deleted about 500 of my movie nfo files and noticed that after scraping 300 or so, google started blocking the search, MC was then unable to identify the movie, not only that, it also has the side effect of having me enter a image word before I can use google in my browser. Hopefully this will expire soon but either way, it would be prudent to remove this rather than have users of MC encounter the same issue, I will have to go back to the imdb search used in gen1, a shame really since google is far more accurate than the imdb.
This is my no1 priority to fix but should not take long, I have to go to work today Sad, but the changes will be ready for the weekend.

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
MarkC
Junior Member
Junior Member


Posts: 28
Join date: 2008-09-26

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:37 pm

Hi,

Thanks for the reply.

<aspect> is consistently blank for me (for all movie types; .mkv, avi...) if scraping a new movie or re-scraping. I think I saw it populate a few times but only after I had created the fileinfo with Ember and then used MC to overwrite it. Please see example below which I have just scrapped.
As you can see scantype is also incorrect (never been blank) but cannot work out for the life of me where it is getting this number from (it is different for different movies). Perhaps it is something specific to my build, am running Win7 x64 (RTM). I am logged in as Supervisor, I have tried scraping from 3 different PC`s but unfortunatley all run Win7 x64 and do give the same results.

I do not have any movies with multiple parts, they are all single files.

Thanks again for all your effort...

Mark.

<streamdetails>
<video>
<width>640</width>
<height>352</height>
<aspect>
</aspect>
<codec>XVID</codec>
<format>XVID</format>
<duration>1h 34mn</duration>
<bitrate>860 Kbps</bitrate>
<bitratemode>
</bitratemode>
<bitratemax>
</bitratemax>
<container>.avi</container>
<codecid>XVID</codecid>
<codecidinfo>
</codecidinfo>
<scantype>0.153</scantype>
</video>
<audio>
<language>
</language>
<codec>MP3</codec>
<channels>2</channels>
<bitrate>158 Kbps</bitrate>
</audio>
<subtitle />
</streamdetails>
</fileinfo>
Back to top Go down
View user profile Online
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:41 pm

MarkC wrote:
Hi,

Thanks for the reply.

<aspect> is consistently blank for me (for all movie types; .mkv, avi...) if scraping a new movie or re-scraping. I think I saw it populate a few times but only after I had created the fileinfo with Ember and then used MC to overwrite it. Please see example below which I have just scrapped.
As you can see scantype is also incorrect (never been blank) but cannot work out for the life of me where it is getting this number from (it is different for different movies). Perhaps it is something specific to my build, am running Win7 x64 (RTM). I am logged in as Supervisor, I have tried scraping from 3 different PC`s but unfortunatley all run Win7 x64 and do give the same results.

I do not have any movies with multiple parts, they are all single files.

Thanks again for all your effort...


Could I ask what build are you using?

medianfo.dll may be the problem, what version are you using, would you have a look at the file properties/details for me

I doubt it is a windows 7 issue, I am using Windows 7 Pro Retail (x64) to develop the program on.

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
MarkC
Junior Member
Junior Member


Posts: 28
Join date: 2008-09-26

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:52 pm

Using 3.148 clean unRar from your file.

MediaInfo.dll version 1.7.7.6

After I posted also realised it is probably not my build as Ember pulls the info without issue.

Thanks.
Back to top Go down
View user profile Online
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:52 pm

I've just noticed that the I am using medianfo.dll 0.7.20.0 to develop MC, but the build I am distributing is build 0.7.7.6

Maybe that is the problem

Try this build 0.7.20.0

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:56 pm

OK - I can verify that this is the problem, replacing the mediainfo.dll with the one linked above fixed the problem with aspect and scantype.

The blank tags are removed from the next build.

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
MarkC
Junior Member
Junior Member


Posts: 28
Join date: 2008-09-26

PostSubject: Re: Media Tags   Fri Nov 06, 2009 12:57 pm

Yup, that worked!

Many Thanks!

<video>
<width>592</width>
<height>320</height>
<aspect>1.850</aspect>
<codec>XVID</codec>
<format>XVID</format>
<duration>1h 31mn</duration>
<bitrate>970 Kbps</bitrate>
<bitratemode>
</bitratemode>
<bitratemax>
</bitratemax>
<container>.avi</container>
<codecid>XVID</codecid>
<codecidinfo>
</codecidinfo>
<scantype>Progressive</scantype>
</video>
Back to top Go down
View user profile Online
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Fri Nov 06, 2009 1:01 pm

All that effort for a simple mistake on my part of not updating the mediainfo library.

I need to spend a bit more time when creating the builds for people to download.

Lesson well learnt Smile

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
MarkC
Junior Member
Junior Member


Posts: 28
Join date: 2008-09-26

PostSubject: Re: Media Tags   Fri Nov 06, 2009 1:25 pm

At least we got to the bottom of it.

I must admit I am pretty surprised there were no more posts on this from other users as at least for me the flags are a pretty important part of the skins now.

Thanks again for your time!
Back to top Go down
View user profile Online
SmokeHacker
New User
New User


Posts: 8
Join date: 2009-01-07

PostSubject: Re: Media Tags   Tue Nov 10, 2009 4:24 am

A huge thanks for all the hard work on fixing media tags and removing the empty media tags from movie .nfo's if they aren't scraped. It's much appreciated.

I just noticed though that empty media tags are still included in TV episode .nfo's. Is there any way these can get the same treatment as the movies and be removed completely if media tag info isn't set to be scraped? ( I looked through the preferences and didn't even see an option for TV media tags, so obviously this would needed to be added first... )

Thanks!
Back to top Go down
View user profile
billyad2000
Admin


Posts: 890
Join date: 2008-09-20

PostSubject: Re: Media Tags   Tue Nov 10, 2009 11:08 am

SmokeHacker wrote:
A huge thanks for all the hard work on fixing media tags and removing the empty media tags from movie .nfo's if they aren't scraped. It's much appreciated.

I just noticed though that empty media tags are still included in TV episode .nfo's. Is there any way these can get the same treatment as the movies and be removed completely if media tag info isn't set to be scraped? ( I looked through the preferences and didn't even see an option for TV media tags, so obviously this would needed to be added first... )

Thanks!


The tv show tags will be fixed for the next build

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
View user profile http://billyad2000.co.uk
 

Media Tags

View previous topic View next topic Back to top 
Page 2 of 2Goto page : Previous  1, 2

Permissions of this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Post new topic   Reply to topic