Jump to content

Is it possible to view a list movies in a collection?


Recommended Posts

Posted

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

 

 

Happy2Play
Posted

You would need to look in Data path: /volume1/Emby/data/collections

Posted
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

Happy2Play
Posted

Sorry I do not know Synology, I was just going off the data path I found in Synology log.

Posted

You must have it. Maybe the system user you're using doesn't have permissions to that folder?

Posted (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 by zBernie
Posted

Please attach the emby server log. thanks.

Posted
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

Posted

That looks like a terminal log. You can get the emby server log from the emby web interface.

Posted
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

Happy2Play
Posted

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

Posted
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

Posted
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

  • 2 years later...
daddie888
Posted (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 by daddie888
daddie888
Posted

Never mind, I wrote a Ruby script that does some API requests to do the job.

  • Thanks 1
Posted
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. 

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