zBernie 15 Posted October 9, 2020 Share Posted October 9, 2020 I have several collections and was wondering if it is possible to view all of the movies contained in a collection. I looked at the Emby backup files and found the file below, but it doesn't contain the movie names. \\ds418\Backups\Emby\Emby Backup - 2020-10-08 02.0.0 - Auto\library\Collections\options.xml Link to comment Share on other sites More sharing options...
Happy2Play 8304 Posted October 9, 2020 Share Posted October 9, 2020 You would need to look in Data path: /volume1/Emby/data/collections Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 6 minutes ago, Happy2Play said: You would need to look in Data path: /volume1/Emby/data/collections I don't seem to have that path: root@DS418:/volume1# ls -1 @appstore aquota.group aquota.user @autoupdate Backups chat @clamav @cloudsync Computer Images @database @dms.core @download @eaDir @ffmpeg.core @GlacierBackup homes @img_bkp_cache @iSCSI lost+found @maillog @MailScanner Media Library music @optware photo Photography Portfolio @S2S @spool @SynoDrive @SynoFinder-LocalShadow @SynoFinder-log @SynologyApplicationService @synologydrive @SynologyDriveShareSync @synophoto_acl_p.core synoquota.db @synorelayd.core @tmp @USBCopy video Link to comment Share on other sites More sharing options...
Happy2Play 8304 Posted October 9, 2020 Share Posted October 9, 2020 Sorry I do not know Synology, I was just going off the data path I found in Synology log. Link to comment Share on other sites More sharing options...
Luke 37119 Posted October 9, 2020 Share Posted October 9, 2020 You must have it. Maybe the system user you're using doesn't have permissions to that folder? Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 (edited) 2 minutes ago, Luke said: You must have it. Maybe the system user you're using doesn't have permissions to that folder? No, don't have it. As root I just did a "find -iname '*emby*' | out.txt" from the root on down, and there is no file with the name "collection". Maybe it goes by a different name? Edited October 9, 2020 by zBernie Link to comment Share on other sites More sharing options...
Luke 37119 Posted October 9, 2020 Share Posted October 9, 2020 Please attach the emby server log. thanks. Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 1 minute ago, Luke said: Please attach the emby server log. thanks. I've attached the EmbyServer.log. Also, here's a list of other Emby log files. root@DS418:/# grep -i log out.txt ./volume1/@appstore/EmbyServer/releases/4.4.3.0/Emby.ActivityLog.pdb ./volume1/@appstore/EmbyServer/releases/4.4.3.0/Emby.ActivityLog.dll ./volume1/@appstore/EmbyServer/var/logs/embyserver-63737625600.txt ./volume1/@appstore/EmbyServer/var/logs/embyserver-63737798400.txt ./volume1/@appstore/EmbyServer/var/logs/embyserver-63737712000.txt ./volume1/@appstore/EmbyServer/var/logs/embyserver-63737539200.txt ./volume1/@appstore/EmbyServer/var/logs/embyserver.txt ./var/log/synopkg_embyserver_servicing.log ./var/log/packages/EmbyServer.log ./var/log/upstart/pkgctl-EmbyServer.log EmbyServer.log Link to comment Share on other sites More sharing options...
Luke 37119 Posted October 9, 2020 Share Posted October 9, 2020 That looks like a terminal log. You can get the emby server log from the emby web interface. Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 1 minute ago, Luke said: That looks like a terminal log. You can get the emby server log from the emby web interface. I think this is it. embyserver.txt Link to comment Share on other sites More sharing options...
Happy2Play 8304 Posted October 9, 2020 Share Posted October 9, 2020 Your on the Synology mono version 4.4.3.0 still. Program data path: /var/packages/EmbyServer/target/var /var/packages/EmbyServer/target/var/data/collections Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 6 hours ago, Happy2Play said: Your on the Synology mono version 4.4.3.0 still. Program data path: /var/packages/EmbyServer/target/var /var/packages/EmbyServer/target/var/data/collections Thanks, I found it here: /var/packages/EmbyServer/target/var/data/collections/Halloween [boxset]/collection.xml Link to comment Share on other sites More sharing options...
zBernie 15 Posted October 9, 2020 Author Share Posted October 9, 2020 13 hours ago, Luke said: That looks like a terminal log. You can get the emby server log from the emby web interface. I found references to the movies in my Halloween collection on my Synology NAS as shown below. To digress slightly, I use the Emby backup plugin. I could not find any references to movies in any collections in these Emby backup files. My question is, if I restored Emby from a backup, how would it know which movies to restore to a collection? /var/packages/EmbyServer/target/var/data/collections/Halloween [boxset]/collection.xml Link to comment Share on other sites More sharing options...
Luke 37119 Posted October 10, 2020 Share Posted October 10, 2020 Instructions on migrating collections can be found here: https://github.com/MediaBrowser/Wiki/wiki/Collections-–-Manual-Migration Thanks. Link to comment Share on other sites More sharing options...
daddie888 1 Posted May 24, 2023 Share Posted May 24, 2023 (edited) Hi, Im using the latest version of Emby server and would like to have a list per collection of which video files are in that collection, or vice versa, a list of the collections a video is in. I suppose this info is only available in the database. Is there a sql query I can do to extract this info or is there an API call ? The info above only states that it is store in the database, not how it is extracted. Edited May 24, 2023 by daddie888 Link to comment Share on other sites More sharing options...
daddie888 1 Posted May 25, 2023 Share Posted May 25, 2023 Never mind, I wrote a Ruby script that does some API requests to do the job. 1 Link to comment Share on other sites More sharing options...
Luke 37119 Posted May 25, 2023 Share Posted May 25, 2023 6 hours ago, daddie888 said: Never mind, I wrote a Ruby script that does some API requests to do the job. HI, sounds good. API is what I would have suggested. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now