Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sync of library type "Other" #1598

Open
pju55 opened this issue Aug 5, 2021 · 7 comments
Open

No sync of library type "Other" #1598

pju55 opened this issue Aug 5, 2021 · 7 comments
Assignees
Labels
bug Something isn't working ready to release

Comments

@pju55
Copy link

pju55 commented Aug 5, 2021

Movie sync job returns "0 root items found" when sync'ing library of type "Other"/"Mixed Content".

To Reproduce
Select an Emby Library of "Mixed Content" and run sync job.

  • Windows 10
  • Browser: Edge
  • Version: .27
  • Media server type: Emby
@mregni mregni self-assigned this Aug 5, 2021
@mregni mregni added the bug Something isn't working label Aug 5, 2021
mregni added a commit that referenced this issue Aug 5, 2021
@mregni
Copy link
Owner

mregni commented Aug 5, 2021

image
I'm currently only syncing media that are in "movies" or "tvshows" libraries. I will have a look if I can simply add "mixed content" to it as well.

Here you can download a DEV version that you can run on your system (I hope you have a Windows machine to test on?) that will enable mixed content libraries.

@mregni
Copy link
Owner

mregni commented Aug 5, 2021

@allcontributors[bot] please add @pju55 for bug reporting and user testing

@allcontributors
Copy link
Contributor

@mregni

I've put up a pull request to add @pju55! 🎉

@pju55
Copy link
Author

pju55 commented Aug 5, 2021

DEV version fixed my problem :-)
Hope you can find a way to get it into EmbyStat - without making a lot of other people unhappy!
Maybe make it optional if mixed content libraries should be scanned.

2021-08-05-truncated.log

@mregni
Copy link
Owner

mregni commented Aug 6, 2021

Thanks for the update! I think I will just merge this change into DEV for beta.28. It will be fine.
One strange thing, in your logs, the Type is "Other" because you don't get any CollectionType from Emby, the property is empty.
I implemented the fallback to "Other" myself.

2021-08-05 22:26:59.5315 [DEBUG] MOVIE-SYNC	id: 296203f2dee2abc2cd6f8c4283784bc7 - Name:Diverse - Type:Other - RawType: 
2021-08-05 22:26:59.5315 [DEBUG] MOVIE-SYNC	id: c2f65ff9d9d5c43a2d8acd84777bb138 - Name:Familie - Type:Other - RawType: 
2021-08-05 22:26:59.5315 [DEBUG] MOVIE-SYNC	id: 253bc9fc2ae4cb0a47d99e75b7e36923 - Name:Film - Type:Other - RawType: 
2021-08-05 22:26:59.5315 [DEBUG] MOVIE-SYNC	id: 8a05b0252259a1dbd62df97522638439 - Name:Musik - Type:Other - RawType: 
2021-08-05 22:26:59.5315 [DEBUG] MOVIE-SYNC	id: 8505836c67b586ffcfbc5ab592de7f27 - Name:Ture - Type:Other - RawType: 

Anyway, going to close this issue when i released it to develop, then you can use the normal release track again. Thanks for testing!

@pju55
Copy link
Author

pju55 commented Aug 6, 2021

Sounds good - thanks!
The collection type is odd - just created another library of type movie:
2021-08-06 11:09:45.3795 [DEBUG] MOVIE-SYNC id: c99be01f4e5a8368efc7bb0ef2e5b8ba - Name:Movies - Q - Type:Movies - RawType:movies
Looks like "Mixed Type" in Emby is just an "undefined" value.

@mregni
Copy link
Owner

mregni commented Aug 6, 2021

Then it's a good thing I have the fallback to "Other", Maybe I should rename it to "MixedContent" to be consistent . Thanks for testing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready to release
Projects
None yet
Development

No branches or pull requests

2 participants