2009-04-18, 15:38
Just wondering, I used the search function but did not find it. Is it possible to add a Trailer function to MIP so it downloads the appple trailer in the movie folder and renames it to movie-trailer.
dandirk Wrote:I am assuming this is a noob problem...
From the screenshots it looks like when viewing imported/created movie info, the fanart is shown as a background and current poster is shown as a smaller overlay image...
For some reason I cannot see the current poster (folder.jpg and <movie>.tbn). I also seem to be missing file location information at the bottom like I have seen in screenshots...
I installed imagemagik even though I don't plan on using any of the editing features... Though when I do there is an exception error kicked by windows.
I am running XP SP3 with virtually all the .nets installed.
Anyone see this problem before? I tried a search but only came up with the show tbn option (enabled or disabled, no change for me)
Quote:phunqe - if xbmc picks up 95%.. run it, then export the library, then load mip and it'll pick up on the imdbid from those .nfo files automatically (movies, shows don't export id's yet).anyone? hate to keep posting the question but it keeps getting lost in the questions.
that could save ya some time and allow the features of mip on your collection.
billyad2000 Wrote:Hi fekkerreply was too long for pm.. here ya go
I know this is not really the place for this, but you may not realise that your pm is full.
I was just wondering if you could answer a couple of questions about the HD Tags.
I've implemented them for movies in MC and everything is working as expected, I have been told that XBMC doesn't support them yet, I was wondering if the implementation of this was going to be soon.
If not, I also read that some of the information from HD Tags can be added to the <studio> tag, I was just wondering if you could give me details of how this works, what tags are supported, etc
Many thanks
Billy
Public Function toTagData(ByRef xmifi As xbmcMediaInfo.Fileinfo) As String
Dim statusStr As String = ""
If Not xmifi.streamdetails Is Nothing Then
Dim couVS As Integer = 0
Dim couAS As Integer = 0
Dim couSS As Integer = 0
Dim vwidthmax As Double = 0
Dim vheightmax As Double = 0
Dim vaspectdisplayratio As Double = 0
Dim achanmax As Double = 0
Dim accodec As String = ""
Dim alang As String = ""
Dim scantype As String = ""
Dim vcodec As String = ""
Dim subtitleLang As String = ""
For Each curVS As Video In xmifi.streamdetails.Video
couVS += 1
If cleandbl(curVS.Width) > vwidthmax Then
vwidthmax = cleandbl(curVS.Width)
vheightmax = cleandbl(curVS.Height)
Dim car As Double = 0
If curVS.Aspectdisplayratio = "" Then
car = 0
Else
car = cleandbl(curVS.Aspectdisplayratio)
End If
vaspectdisplayratio = car
If curVS.Scantype.ToLower.Contains("progressive") Then
scantype = "p"
Else
scantype = "i"
End If
vcodec = curVS.Codecid
End If
'To_Display += " Container: " + "This is the extension of the file" + vbNewLine
Next
For Each curAS As Audio In xmifi.streamdetails.Audio
couAS += 1
'audio
If Not curAS.Channels = "" Then
If cleandbl(curAS.Channels) > achanmax Then
accodec = curAS.Codec
achanmax = cleandbl(curAS.Channels)
alang = curAS.Language
End If
End If
Next
For Each curSS As Subtitle In xmifi.streamdetails.Subtitle
couSS += 1
'audio
subtitleLang += " / sub" + curSS.Language
Next
If Not couVS = 0 Then 'no video streams, don't write any tag data
Try
statusStr = " / " & getrezfromsize(vwidthmax, vheightmax, vaspectdisplayratio) & scantype & " / " & vcodec & " / " & accodec & " / " & achanmax & "ch / " & alang & subtitleLang
Catch ex As Exception
Debug.Print("Failed to process media information to tag data.")
Return ""
End Try
End If
End If
Debug.Print(statusStr)
Return statusStr
End Function
Private Function getrezfromsize(ByVal curwidth As Double, ByVal curheight As Double, ByVal curar As Double) As String
'detect Aspect Ratio
Dim calulatedcurar As Double = curwidth / curheight
'curar is from the media file and is passed into the function, this is pulled from the media file data in the video
'strict format
If curwidth = 1920 And curheight = 1080 Then Return "1080"
If curwidth = 1280 And curheight = 720 Then Return "720"
If curwidth = 720 And curheight = 576 Then Return "576"
If curwidth = 720 And curheight = 480 Then Return "480"
If curwidth = 960 And curheight = 720 Then Return "720"
If curwidth = 1366 And curheight = 768 Then Return "768"
'closest based on widescreen
'ask about ar from file
Dim arcalcheight As Double
Dim maxheight As Double
If curar > 1.34 And Not curar = 0 Then
arcalcheight = curwidth / 1.777
If curheight > arcalcheight Then
maxheight = curheight
Else
maxheight = arcalcheight
End If
If maxheight > 1000 Then Return "1080"
If maxheight > 730 Then Return "768"
If maxheight > 700 Then Return "720"
If maxheight > 550 Then Return "576"
If maxheight > 530 Then Return "540"
If maxheight > 400 Then Return "480"
End If
'loose format
If curwidth = 1920 And curheight > 700 Then Return "1080"
If curwidth = 1280 And curheight > 400 Then Return "720"
If curwidth < 20 Then Return ""
If curwidth < 641 Then Return "SD"
If curwidth < 853 Then Return "480"
If curwidth < 961 Then Return "540"
If curwidth > 961 And curwidth < 1281 Then Return "720"
If curwidth > 1281 Then Return "1080"
Return ""
End Function
schwallman Wrote:anyone? hate to keep posting the question but it keeps getting lost in the questions.
Only One Haze Wrote:first of all, love this program! was just wondering if there was an option to not download the wide icons? I only use the poster thumbs and fanart, and have no need to download all the diff. types of wide icons, this would make things much faster i think. but then again, i just started using this last night and i may have missed the option, using build 2861, btw
Weavus Wrote:That didnt seem to work either so I just changed the name of the problem folders, ran load shows, then changed them back. Seem to do the trick.
Would it be possible to get load shows to check for tvdbid.txt if no tvshow.nfo exists? Also could you make load shows pump out a tvdbid.txt if tvshow.nfo exists with a tvdb id inside it? Thanks!
kulprit Wrote:Just a quick question about the program, which is fantastic by the way.
I am pretty sure I have set it up just to create a movie.nfo file, as I already have a <moviename>.nfo file that I don't want to change. However on running through either manually or autopilot, it doesn't change this field, just puts old.dateandotherstuff after it.
Any ideas where I am missing something.
Quote:autopilot for musici'll add it in when i can, agree it's needed, just short on time right now
redtapemedia Wrote:I have a question about International ratings... skins appear to not be able to read from the certification field. I was wondering if it would be possible to automatically place the rating in the MPAA field if you have an international region selected? With a check box or something enabled. The reason I ask is I'm developing international rating support for Aeon.
Thanks for this great program! I'm looking forward to mac support with mono down the track too!
fekker Wrote:very doable, i'll see about adding the feature.
kulprit Wrote:Thanks fekker, where can i get 2872. I'm running 2861, and can only find 2870 on sourceforge.
Cheers
fekker Wrote:when you export, don't choose the single file option (forget the name of the other one, seperate files or something like that).. xbmc will put the files in the folders where the media is at automatically.