Jump to content

Vantage Point 2.0 - Complete Rework


Cheesegeezer

Recommended Posts

unisoft
5 minutes ago, Cheesegeezer said:

Can you share the debug log.  if you just search the log for "Vantage Point:"  then you should come across the logic section that says what's happening and what it's finding.

Cheers

is that the normal emby log with debug switched on?

Link to comment
Share on other sites

unisoft

First Off, the config section for Vantage Point XML:

  <TVVPItems>
    <TVVPItem>
      <Index>0</Index>
      <Name>Tag Match - Play Ident</Name>
      <IntroType>Codec</IntroType>
      <Path>/volume1/@appdata/EmbyServer/Idents/TV-Idents</Path>
      <NumberOfItemsToPlay>1</NumberOfItemsToPlay>
      <EnableForWatchedContent>true</EnableForWatchedContent>
      <EnableParentalControl>false</EnableParentalControl>
      <EnableSimilar>false</EnableSimilar>
      <UseLocalTrailers>false</UseLocalTrailers>
      <IncludeWatchedTrailers>false</IncludeWatchedTrailers>
      <MatchAudioCodec>false</MatchAudioCodec>
      <MatchVideoCodec>false</MatchVideoCodec>
      <MatchTags>true</MatchTags>
      <MatchTitles>false</MatchTitles>
    </TVVPItem>
  </TVVPItems>
 

  • Thanks 1
Link to comment
Share on other sites

Cheesegeezer
2 minutes ago, unisoft said:

is that the normal emby log with debug switched on?

yep sure is,  before you run a episode, you can go to scheduled tasks and rotate the log, it will clean up all the old tasks that have been run and keep it minimal for posting purposes.

Link to comment
Share on other sites

unisoft
2 minutes ago, Cheesegeezer said:

@unisoft  just a quick one, 

is the time frame for the episode set above the episode runtime

image.thumb.png.0adc7d2998a80825121ec34725188ebd.png

yes was 10 minutes but tried changing to 20 to see if that change did anything. Looking though the emby log right now there is nothing beginning "Vantage" apart from recording of the Vantage plugin version number.

Link to comment
Share on other sites

Cheesegeezer

So i just did a test also with tags as the first item just to check there isn't any weirdness with that and that's working fine also.

image.png.777891527e15bcd1d927a1882968ac08.png

Link to comment
Share on other sites

Cheesegeezer
Just now, unisoft said:

yes was 10 minutes but tried changing to 20 to see if that change did anything. Looking though the emby log right now there is nothing beginning "Vantage" apart from recording of the Vantage plugin version number.

Can you run a library scan and look for something like this

image.png.e02a567e2de1d99b40e6a004174ce1da.png

Link to comment
Share on other sites

unisoft

Ok, this is bizarre. This is ONE epsidoe that is tagged and that plays the into. The others tagged eactly the same and they don't play an intro and nothing in log file.

For the item that does play; here is an extract of the log:

2022-10-22 14:34:30.393 Debug Server: http/1.1 GET http://‌‍‍unisoft-nas01‌:8096/emby/Users/5f79338821b444dab63cbafcc723ad09/Items/3890557/Intros?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=c772cd99-bf62-4a0b-92b9-f73acd537fb2&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52
2022-10-22 14:34:30.414 Debug Vantage Point: Getting Movie Intros
2022-10-22 14:34:30.419 Debug Vantage Point: Getting Intro Results for Movies
2022-10-22 14:34:30.420 Debug Vantage Point: Codec Found at Index 0
2022-10-22 14:34:30.424 Debug Vantage Point: CODEC Logic starting......
2022-10-22 14:34:30.425 Debug Vantage Point: Codec Video info =  h264
2022-10-22 14:34:30.425 Debug Vantage Point: Codec Audio info =  aac
2022-10-22 14:34:30.425 Debug Vantage Point: Embedded Track Data info =  
2022-10-22 14:34:30.425 Debug SqliteItemRepository: Public GetItemLinks
2022-10-22 14:34:30.425 Debug Vantage Point: Tag found =  BBC-RIBBONS
2022-10-22 14:34:30.456 Debug Vantage Point: Matching Codec Id found is 0 & Path = /volume1/@appdata/EmbyServer/Idents/TV-Idents/BBC-RIBBONS.mp4
2022-10-22 14:34:30.456 Debug Vantage Point: Total Intros to Play: 1
2022-10-22 14:34:30.456 Debug Vantage Point: Get all Intros Paths took 42 milliseconds
2022-10-22 14:34:30.456 Debug Vantage Point: Intro Selected = 0 - /volume1/@appdata/EmbyServer/Idents/TV-Idents/BBC-RIBBONS.mp4
2022-10-22 14:34:30.709 Debug XmlSerializer: Deserializing file /var/packages/EmbyServer/var/config/metadata.xml
2022-10-22 14:34:30.726 Debug SqliteItemRepository: GetInternalId from 1f9fa0b5-7685-1574-1b02-56be38b8c732
2022-10-22 14:34:30.732 Debug SqliteItemRepository: Public GetItemLinks
 

Link to comment
Share on other sites

unisoft
Just now, unisoft said:

Ok, this is bizarre. This is ONE epsidoe that is tagged and that plays the into. The others tagged eactly the same and they don't play an intro and nothing in log file.

For the item that does play; here is an extract of the log:

2022-10-22 14:34:30.393 Debug Server: http/1.1 GET http://‌‍‍unisoft-nas01‌:8096/emby/Users/5f79338821b444dab63cbafcc723ad09/Items/3890557/Intros?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=c772cd99-bf62-4a0b-92b9-f73acd537fb2&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52
2022-10-22 14:34:30.414 Debug Vantage Point: Getting Movie Intros
2022-10-22 14:34:30.419 Debug Vantage Point: Getting Intro Results for Movies
2022-10-22 14:34:30.420 Debug Vantage Point: Codec Found at Index 0
2022-10-22 14:34:30.424 Debug Vantage Point: CODEC Logic starting......
2022-10-22 14:34:30.425 Debug Vantage Point: Codec Video info =  h264
2022-10-22 14:34:30.425 Debug Vantage Point: Codec Audio info =  aac
2022-10-22 14:34:30.425 Debug Vantage Point: Embedded Track Data info =  
2022-10-22 14:34:30.425 Debug SqliteItemRepository: Public GetItemLinks
2022-10-22 14:34:30.425 Debug Vantage Point: Tag found =  BBC-RIBBONS
2022-10-22 14:34:30.456 Debug Vantage Point: Matching Codec Id found is 0 & Path = /volume1/@appdata/EmbyServer/Idents/TV-Idents/BBC-RIBBONS.mp4
2022-10-22 14:34:30.456 Debug Vantage Point: Total Intros to Play: 1
2022-10-22 14:34:30.456 Debug Vantage Point: Get all Intros Paths took 42 milliseconds
2022-10-22 14:34:30.456 Debug Vantage Point: Intro Selected = 0 - /volume1/@appdata/EmbyServer/Idents/TV-Idents/BBC-RIBBONS.mp4
2022-10-22 14:34:30.709 Debug XmlSerializer: Deserializing file /var/packages/EmbyServer/var/config/metadata.xml
2022-10-22 14:34:30.726 Debug SqliteItemRepository: GetInternalId from 1f9fa0b5-7685-1574-1b02-56be38b8c732
2022-10-22 14:34:30.732 Debug SqliteItemRepository: Public GetItemLinks
 

Just to let you know that Vanatge for Movies works 100%

Link to comment
Share on other sites

Cheesegeezer
1 minute ago, unisoft said:

Just to let you know that Vanatge for Movies works 100%

I may have found a bug, whilst reviewing the code.  Is the one that works an uplayed item and the ones that don't work already played?

Link to comment
Share on other sites

unisoft
1 minute ago, Cheesegeezer said:

I may have found a bug, whilst reviewing the code.  Is the one that works an uplayed item and the ones that don't work already played?

Yes it was an unplayed item for the one that worked, but when I removed the "PLAYED" status from the other tagged episodes, it still didn't fire off the ident intro again. I even went and did another full scan library?

Link to comment
Share on other sites

unisoft
1 minute ago, unisoft said:

Yes it was an unplayed item for the one that worked, but when I removed the "PLAYED" status from the other tagged episodes, it still didn't fire off the ident intro again. I even went and did another full scan library?

Also, if I press play icon on a season/series cover, instead of an individual episode, it will fire off an ident?

Link to comment
Share on other sites

Cheesegeezer
6 minutes ago, unisoft said:

Also, if I press play icon on a season/series cover, instead of an individual episode, it will fire off an ident?

I'm can't understand why it wont play them.

Are the Episodes that don't work STRM files by any chance?

Link to comment
Share on other sites

unisoft
Just now, Cheesegeezer said:

I'm can't understand why it wont play them.

Are the Episodes that don't work STRM files by any chance?

No they are standard .MP4 files. I have PM you a log.

Link to comment
Share on other sites

unisoft
5 minutes ago, unisoft said:

No they are standard .MP4 files. I have PM you a log.

This all worked until Emby devs updated the server side code (Synology) and client apps. The only app where the ident still fires off, played or not, is the LG TV Emby app because they haven't updated since March 2022 I think, but MOVIES still all work, I have muiplte items for MOVIES library.

Emby devs did change their own plugin from CINEMA INTROS to CINEMA MODE recently. Wonder if they made hook changes or soemthing?

Edited by unisoft
Link to comment
Share on other sites

Cheesegeezer
5 minutes ago, unisoft said:

This all worked until Emby devs updated the server side code (Synology) and client apps. The only app where the ident still fires off, played or not, is the LG TV Emby app because they haven't updated since March 2022 I think.

Got the logs, they all seem to like the ribbon tag that plays.  Are the other episodes you are trying to play that don't fire anything to do with ribbons or are they a different intro.

I'm just updating some logging so i can maybe figure out a common factor here.

I'll post the updated dll in the PM.

Link to comment
Share on other sites

unisoft
2 minutes ago, Cheesegeezer said:

Got the logs, they all seem to like the ribbon tag that plays.  Are the other episodes you are trying to play that don't fire anything to do with ribbons or are they a different intro.

I'm just updating some logging so i can maybe figure out a common factor here.

I'll post the updated dll in the PM.

They were all tagged the same time with BBC-RIBBONS (like 300+ episodes) and use the same MP4 file. All used to work (it was just if I tried a new tag for different episodes of say BBC-2020 and BBC-2020.mp4 it used to fail)

Edited by unisoft
Link to comment
Share on other sites

Cheesegeezer
1 minute ago, unisoft said:

They were all tagged the same time with BBC-RIBBONS (like 300+ episodes) and use the same MP4 file. All used to work (it was just if I tried a new tag of say BBC-2020 and BBC-2020.mp4 it used to fail)

i just changed the case of letters in one of my intro files for tags and that works, changed "Atmos" to "aTmoS", so it's nothing to do with case sensitivity.

is it a corrupt db do you think, because the changes were to GUID and InternalId's for performance improvements.

can you try doing a db Vacuum if you are comfortable and don't have any users watching stuff.  I have no idea how long it takes, but it may be a remedy to fix any issues with items.

image.png.053582ac7bf94380ab2f56cab13d9032.png

Link to comment
Share on other sites

unisoft
2 minutes ago, Cheesegeezer said:

i just changed the case of letters in one of my intro files for tags and that works, changed "Atmos" to "aTmoS", so it's nothing to do with case sensitivity.

is it a corrupt db do you think, because the changes were to GUID and InternalId's for performance improvements.

can you try doing a db Vacuum if you are comfortable and don't have any users watching stuff.  I have no idea how long it takes, but it may be a remedy to fix any issues with items.

image.png.053582ac7bf94380ab2f56cab13d9032.png

yep already had done a vaccum. My analysis limit is 2000 and the DB cache size is 600MB based on 2x library.db size.

Link to comment
Share on other sites

Cheesegeezer
4 minutes ago, unisoft said:

yep already had done a vaccum. My analysis limit is 2000 and the DB cache size is 600MB based on 2x library.db size.

a new dll will be going up on the PM soon, i'm just gonna give it a test and then post.

it might help us with what's going on

 

Link to comment
Share on other sites

unisoft
1 minute ago, Cheesegeezer said:

a new dll will be going up on the PM soon, i'm just gonna give it a test and then post.

it might help us with what's going on

 

ok no problem. Thanks.

Link to comment
Share on other sites

Spaceboy

i am also having issues with VP at present. i can't get any intros to play before movies or episodes - the log looks fine but the intro doesnt play. i tried the dll from the previous page and no change. will wait for the next dll or i can provide logs now if you'd prefer

Link to comment
Share on other sites

Cheesegeezer
34 minutes ago, Spaceboy said:

i am also having issues with VP at present. i can't get any intros to play before movies or episodes - the log looks fine but the intro doesnt play. i tried the dll from the previous page and no change. will wait for the next dll or i can provide logs now if you'd prefer

yeah log would be good thanks

 

Link to comment
Share on other sites

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...