Jump to content

Server 3.4.1.23 - SpecialFeatureCount always zero


PenkethBoy

Recommended Posts

PenkethBoy

Trying to get a SpecialFeaturecount by Movie from the beta server - and the json data returned is always Zero

 

the same code against the Stable server returns the SpecialFeatureCount correctly for the movies that have extras

 

I checked the results using the Report Plugin and that is returning Zero for Specials as well when using the Filter option "Extras" i.e. checking extras which should filter (HasSpecialFeature=True) the query to the Emby db returns no results. Which is the same result as from my query via 

 

../emby/users/<userid>/items?Fields=SpecialFeatureCount&IncludeItemTypes=Movie&HasSpecialFeature=True&api_key=<key>

 

This works as expected with Stable (216 out of 439 Movies ) and returns zero results with BETA

 

i.e.

{
    "Items":  [

              ],
    "TotalRecordCount":  0
}

If i remove the "HasSpecialFeature=True" from my query - movies are returned (all movies) but the SpecialFeatureCount is always zero.

 

[edit]

 

I just tried the Special Features filter in my movie library on Beta and all my movies disappear - unchecking brings them back

Edited by PenkethBoy
  • Like 1
Link to comment
Share on other sites

It seems to be working ok for me. if you just went from stable to beta, make sure to run a library scan. if you've been on beta for a while, try refreshing a movie with an extra.

Link to comment
Share on other sites

PenkethBoy

Tried a scan and a refresh of a movie with 6 extras "Elysium"

 

result is the same - no results returned on Beta server

 

5b3943ab319a7_Capture1a.jpg

 

and after selecting Special Features

 

5b3943c8b7efa_Capture2.jpg

 

All movies are filtered out

Link to comment
Share on other sites

PenkethBoy

Ok - added "A fist full of Dollars" while emby server was live and let the real-time monitor pick up the change - this was fine it picked up the extras folder and all accounted for

 

running my script and trying the special features filter - zero results - as before

 

I then shutdown the server added two more movies "Blade Runner" and "Constantine" both have several extras

 

Strated the server and ran a lib scan - the movies and extras were picked up as usual

 

running the script and trying the filter - zero results again

 

For Info the db is relatively new - i.e. it was created earlier in June from scratch with the beta server at that time - cant remember which version on the server though

 

[edit] - looks like the db was created with .16 beta server

 

i am just recreating the db now with .23 to see if that changes anything

Edited by PenkethBoy
Link to comment
Share on other sites

PenkethBoy

Ok - have rebuilt Library.db so its nice and new

 

and the results unfortunately are the same

Link to comment
Share on other sites

the filter problem i can reproduce, the SpecialFeatureCount is working for me though.

Link to comment
Share on other sites

PenkethBoy

Ok - update with .28

 

Filter is working  a bit better in that i get results - but the results include movies with Trailers but no extras

 

SpCount is still always zero for every movie

 

Snippet of returned JSON - including "12 Strong" and "Fistful of Dollars" as examples

{
    "Items":  [
                  {
                      "Name":  "Star Wars: Episode III - Revenge of the Sith",
                      "ServerId":  "393d783c30484015a24645f7844060b4",
                      "Id":  "05e14f591d2ca00e10cf8ee1f8321871",
                      "Container":  "mkv,webm",
                      "PremiereDate":  "2005-05-16T23:00:00.0000000Z",
                      "CriticRating":  79,
                      "OfficialRating":  "GB-12A",
                      "CommunityRating":  7.6,
                      "RunTimeTicks":  84058767360,
                      "ProductionYear":  2005,
                      "IsFolder":  false,
                      "Type":  "Movie",
                      "UserData":  {
                                       "PlaybackPositionTicks":  0,
                                       "PlayCount":  0,
                                       "IsFavorite":  false,
                                       "Played":  false,
                                       "Key":  "1895"
                                   },
                      "SpecialFeatureCount":  0,
                      "VideoType":  "VideoFile",
                      "ImageTags":  {
                                        "Primary":  "e575ee9ef698e9e853dfd51bd6cd4ed9",
                                        "Art":  "144f3787e3d55360eaaad9658ee53a92",
                                        "Banner":  "f02a1e54c3f6656949f60f27b2791bd8",
                                        "Disc":  "cbab0fe8c986ce31c6ceae9e671e389f",
                                        "Logo":  "a9d527d532b7bfe25c5f786c12e5d13b",
                                        "Thumb":  "096c27c02bb11065feb1ba90aa2a4468"
                                    },
                      "BackdropImageTags":  [
                                                "30dc7f44ce304071a0e15c3ffa3b6b22",
                                                "9c0d617e7faeba932e4f4142ea477b4f",
                                                "09b97cd0a0e66dfb499cb139dfec3e24",
                                                "f46f373cc96916c3fb5f019dd3d972bb",
                                                "c07311e7263cad7c3efa19c8dc3f6216",
                                                "0cc345bc85732f8b011a4c4e82b7323b",
                                                "104ebd51378ad35f5df9ae561c4d17fc",
                                                "b2c064221aaf37669501a63f644de59c",
                                                "a5f19dff3a3bb26a279dfb00c65f6232",
                                                "9cdeb4194fd130b3f39d8c08ac360534"
                                            ],
                      "LocationType":  "FileSystem",
                      "MediaType":  "Video",
                      "EndDate":  "2016-05-13T23:00:00.0000000Z"
                  },
                  {
                      "Name":  "A Fistful of Dollars",
                      "ServerId":  "393d783c30484015a24645f7844060b4",
                      "Id":  "14ed7a2c7f358d5668681cd3429c1831",
                      "Container":  "mkv,webm",
                      "PremiereDate":  "1964-09-11T23:00:00.0000000Z",
                      "CriticRating":  98,
                      "OfficialRating":  "GB-15",
                      "CommunityRating":  8,
                      "RunTimeTicks":  60042698752,
                      "ProductionYear":  1964,
                      "IsFolder":  false,
                      "Type":  "Movie",
                      "UserData":  {
                                       "PlaybackPositionTicks":  0,
                                       "PlayCount":  0,
                                       "IsFavorite":  false,
                                       "Played":  false,
                                       "Key":  "391"
                                   },
                      "SpecialFeatureCount":  0,
                      "VideoType":  "VideoFile",
                      "ImageTags":  {
                                        "Primary":  "1f51d3fc595a4957f554b59776906ac3",
                                        "Art":  "b85cceb60a61a553909e66d560361447",
                                        "Banner":  "efe529cf7dedcc6fd9ebfc0041a85619",
                                        "Disc":  "088d9a6701114ce264581585fd9ffbf5",
                                        "Logo":  "b7f04540c98fb6c197b9b092678f1e99",
                                        "Thumb":  "ad1c80f561f5bdcb64f4afd56dd412b2"
                                    },
                      "BackdropImageTags":  [
                                                "b44a5bda64c54e96c1929f2321904241",
                                                "3c682923b29bdb80f93c520ca622f4a2",
                                                "862d3789fa35276cf9791f1367603221",
                                                "a9b8f94e9a978dfd8c797c18fff24ea0",
                                                "3d3a71a51f35c5be5ec5e8658ea30d96",
                                                "6bcc7cd11787ca216af2538d8bcd8aef",
                                                "ece0b6e71f0ac129b73f619e1862ae18",
                                                "282dfdaf25e3f25d094318b4b243f602",
                                                "d9e7b5b43b5f9ba4416813859793ae2d",
                                                "7eb4b15439020987a7419910ff2b80ed"
                                            ],
                      "LocationType":  "FileSystem",
                      "MediaType":  "Video"
                  },
                  {
                      "Name":  "Return of the Jedi",
                      "ServerId":  "393d783c30484015a24645f7844060b4",
                      "Id":  "33a85033618ff89cb5ac9790e37eece0",
                      "Container":  "mkv,webm",
                      "PremiereDate":  "1983-05-22T23:00:00.0000000Z",
                      "CriticRating":  80,
                      "OfficialRating":  "GB-U",
                      "CommunityRating":  8.3,
                      "RunTimeTicks":  80874020864,
                      "ProductionYear":  1983,
                      "IsFolder":  false,
                      "Type":  "Movie",
                      "UserData":  {
                                       "PlaybackPositionTicks":  0,
                                       "PlayCount":  0,
                                       "IsFavorite":  false,
                                       "Played":  false,
                                       "Key":  "1892"
                                   },
                      "SpecialFeatureCount":  0,
                      "VideoType":  "VideoFile",
                      "ImageTags":  {
                                        "Primary":  "c2fea0372b8c115b58bf85bd6bee43c3",
                                        "Art":  "386a68ba64551c6c571daa06a17be8fa",
                                        "Banner":  "faa5c38e8d5a0a8e706425966481e4fd",
                                        "Disc":  "fe6213424ab382cea04be4361ebbc9da",
                                        "Logo":  "f0d90af5c8d87c5d86068a66094ef755",
                                        "Thumb":  "9f82eb38dfef09455f20ad51213e7c71"
                                    },
                      "BackdropImageTags":  [
                                                "1f3bd0a6c89167d52387446d25bdde50",
                                                "e375f149578c4d2c01bd249e3b9551a7",
                                                "bbc8c28da3c2ef892cd4865a1786dc5c",
                                                "881be59a088d735594a984a02fb64582",
                                                "dc94d5f0427ea45415161fd5d3d3a10f",
                                                "66b12761638dae243eb0213e8d9b7e43",
                                                "d8deaf5ad0d1a6eb17361d01eef9a71d",
                                                "267f2892c30862f4fc06c29894e52870",
                                                "851916c01a33bfa9944e549ccb857c29",
                                                "cc5beae6e0f424cd21c9f8e9bc96eeb5"
                                            ],
                      "LocationType":  "FileSystem",
                      "MediaType":  "Video"
                  },
                  {
                      "Name":  "12 Strong",
                      "ServerId":  "393d783c30484015a24645f7844060b4",
                      "Id":  "3b3b2163749d4ac7772ffe666418100f",
                      "Container":  "mov,mp4,m4a,3gp,3g2,mj2",
                      "PremiereDate":  "2018-01-16T00:00:00.0000000Z",
                      "CriticRating":  54,
                      "OfficialRating":  "GB-15",
                      "CommunityRating":  6.6,
                      "RunTimeTicks":  77919789056,
                      "ProductionYear":  2018,
                      "IsFolder":  false,
                      "Type":  "Movie",
                      "UserData":  {
                                       "PlaybackPositionTicks":  0,
                                       "PlayCount":  0,
                                       "IsFavorite":  false,
                                       "Played":  false,
                                       "Key":  "429351"
                                   },
                      "SpecialFeatureCount":  0,
                      "VideoType":  "VideoFile",
                      "ImageTags":  {
                                        "Primary":  "00de5e0d4b69daf19963ba1ddfc2cb5d",
                                        "Art":  "fc3e074ff3e8c91e578ecb938e5cc830",
                                        "Banner":  "efc0c934d7def97731e151ab70d455f1",
                                        "Disc":  "0d551171222926a33d7276ac76f06870",
                                        "Logo":  "c738f8ec3d356672ef1cc828a7fc3ed3",
                                        "Thumb":  "c814642a4d1cbd7048ee647d90b1eabf"
                                    },
                      "BackdropImageTags":  [
                                                "fddc6fc7fa2198dec96fd545c206f395",
                                                "2b8a9ff748e3ed053b74c365754a8b0f",
                                                "38b02561b781bee01164d6e816758b5e",
                                                "2d44078087f9b1b71f4172311f0f3a57",
                                                "8e558b4307c2d4b2640b2c13e5c67993",
                                                "eb148c09bccccf48b7f3f85aeba8e629",
                                                "ee046d9746f031d2fc253b68336b8782",
                                                "1073d7798cbcc56517c5057fafa68f07",
                                                "70eff641393e780d4fff2c9286ba4a17",
                                                "71ae95fa46e27252052109f730962327",
                                                "b003592ead5ee1f2aa91a2fda1c55fa7",
                                                "a851b4a33e804509e4632a48e6412d6b",
                                                "a6c417f82303d0d2bb1d090ade9fd0b0",
                                                "8bab57fa08f5e58508f4240a23eac3ad",
                                                "f88504b46c0ae15357e531c7b831f79f",
                                                "e4c156eff9ffba9bf6b87d8ec2ea1c08",
                                                "212b020f6a3d27dafc73a120ee198a28",
                                                "f4ba945df7f435bae80a153b5f869490"
                                            ],
                      "LocationType":  "FileSystem",
                      "MediaType":  "Video"
                  },

couple of s/s to show the movie folder

 

5b41e0b4aa40b_Capture1a.jpg

"12 strong" should not have been included

 

5b41e0e0481bc_Capture2.jpg

 

"Fistful of dollars" should have a SpecialFeaturesCount=7

5b41e12c73af0_Capture3.jpg

Edited by PenkethBoy
Link to comment
Share on other sites

PenkethBoy

@@Luke

 

with .29 Beta Server

 

This may not be the only reason but...

 

Have Movies Grouped into collections ON

 

if you query the server via web/users/<user.id>/items

 

with "CollapseBoxSetItems=False" for movies the SpecialFeatureCount and LocalTrailerCount always return as Zero

 

if you remove "CollapseBoxSetItems=False" then SpecialFeatureCount and LocalTrailerCount return correct values but you do not have all movies and have boxsets mixed into the list

 

Have Movies Grouped into collections OFF

 

And you only get SpecialFeatureCount and LocalTrailerCount always returned as Zero

Edited by PenkethBoy
Link to comment
Share on other sites

PenkethBoy

update

 

HasSpecialFeature=True on .29 is still returning Movies with Specials and Movies with local trailers

 

Special and Trailer counts are zero with Grouped movies ON or OFF

Link to comment
Share on other sites

PenkethBoy

yes the extras are visible as you would expect

 

example for "fistful of dollars" - you have a image of the directory above

 

5b437f57659f5_Capture1a.jpg

Link to comment
Share on other sites

PenkethBoy

if you need more info let me know

 

just to remind you (for Info)  the Library.db is new built using .23 and has very little in it as just for testing - so should not have any hang over info causing issues

 

Can rebuild it again if you think its worth it?

Link to comment
Share on other sites

No it's just a quirk of recent database changes. I'll look into it, thanks.

Link to comment
Share on other sites

PenkethBoy

Ok great let me know when you think you have it sorted and i can test etc

Link to comment
Share on other sites

PenkethBoy

@@Luke - any chance the above issues will be fixed before the next Stable server is released as i guess that's on the near horizon

Link to comment
Share on other sites

Not sure yet. I'm on the fence about whether or not we're just going to live with it temporarily so that we can get a release out.

Link to comment
Share on other sites

PenkethBoy

Any chance this will be looked at soon?

 

I accept that the 3.5.0.1 Stable takes priority and the 3.6.0.3 Beta may affect things

 

But would like to clear this off my list of things to chase you on :) 

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