I noticed an error when creating the Plex Popular collection using tautulli, I think it is due to having music in my library.
I only have movie in my config.yml so I'm not sure why tautulli picks up music as well.
libraries:
Movies:
library_type: movie
templates:
Chart Alpha:
sort_title: ++++_<<num>><<collection_name>>
sync_mode: sync
collection_order: alpha
Plex Popular:
template: {name: Chart Alpha, num: 1}
tautulli_popular:
list_days: 30
list_size: 20
list_buffer: 20
tautulli_watched:
list_days: 30
list_size: 20
list_buffer: 20
summary: Movies Popular on Plex
[2021-02-24 00:30:12,534] [util.py:637] [INFO] |====================================================================================================|
[2021-02-24 00:30:12,534] [util.py:639] [INFO] | Plex Popular Collection |
[2021-02-24 00:30:12,534] [util.py:640] [INFO] |====================================================================================================|
[2021-02-24 00:30:12,534] [config.py:370] [INFO] | |
[2021-02-24 00:30:12,534] [builder.py:167] [INFO] | Scanning Plex Popular Collection |
[2021-02-24 00:30:12,534] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,534] [builder.py:200] [DEBUG] | Method: template |
[2021-02-24 00:30:12,534] [builder.py:201] [DEBUG] | Value: ordereddict([('name', 'Chart Alpha'), ('num', 1)]) |
[2021-02-24 00:30:12,535] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,535] [builder.py:200] [DEBUG] | Method: tautulli_popular |
[2021-02-24 00:30:12,535] [builder.py:201] [DEBUG] | Value: ordereddict([('list_days', 30), ('list_size', 20), ('list_buffer', 20)]) |
[2021-02-24 00:30:12,535] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,535] [builder.py:200] [DEBUG] | Method: tautulli_watched |
[2021-02-24 00:30:12,535] [builder.py:201] [DEBUG] | Value: ordereddict([('list_days', 30), ('list_size', 20), ('list_buffer', 20)]) |
[2021-02-24 00:30:12,535] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,535] [builder.py:200] [DEBUG] | Method: summary |
[2021-02-24 00:30:12,536] [builder.py:201] [DEBUG] | Value: Movies Popular on Plex |
[2021-02-24 00:30:12,536] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,536] [builder.py:200] [DEBUG] | Method: sort_title |
[2021-02-24 00:30:12,536] [builder.py:201] [DEBUG] | Value: ++++_1Plex Popular |
[2021-02-24 00:30:12,536] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,536] [builder.py:200] [DEBUG] | Method: sync_mode |
[2021-02-24 00:30:12,536] [builder.py:201] [DEBUG] | Value: sync |
[2021-02-24 00:30:12,536] [builder.py:199] [DEBUG] | |
[2021-02-24 00:30:12,537] [builder.py:200] [DEBUG] | Method: collection_order |
[2021-02-24 00:30:12,537] [builder.py:201] [DEBUG] | Value: alpha |
[2021-02-24 00:30:12,542] [config.py:390] [INFO] | |
[2021-02-24 00:30:12,543] [config.py:392] [INFO] | Sync Mode: sync |
[2021-02-24 00:30:12,685] [builder.py:529] [DEBUG] | |
[2021-02-24 00:30:12,685] [builder.py:530] [DEBUG] | Method: tautulli_popular |
[2021-02-24 00:30:12,685] [builder.py:531] [DEBUG] | Values: [{'list_type': 'popular', 'list_days': 30, 'list_size': 20, 'list_buffer': 20}] |
[2021-02-24 00:30:12,686] [builder.py:551] [INFO] | |
[2021-02-24 00:30:12,686] [builder.py:552] [DEBUG] | Value: {'list_type': 'popular', 'list_days': 30, 'list_size': 20, 'list_buffer': 20} |
[2021-02-24 00:30:12,686] [tautulli.py:28] [INFO] | Processing Tautulli Most Popular: 20 Movies |
[2021-02-24 00:30:12,686] [tautulli.py:61] [DEBUG] | Tautulli URL: http://10.0.0.10:8181/api/v2?apikey=################################&cmd=get_home_stats&time_range=30&stats_count=40 |
[2021-02-24 00:30:12,984] [tautulli.py:61] [DEBUG] | Tautulli URL: http://10.0.0.10:8181/api/v2?apikey=################################&cmd=get_library_names |
[2021-02-24 00:30:13,131] [util.py:649] [INFO] | Plex Popular Collection | = | The White Tiger |
[2021-02-24 00:30:13,155] [util.py:649] [INFO] | Plex Popular Collection | = | Wrong Turn |
[2021-02-24 00:30:13,199] [util.py:649] [INFO] | Plex Popular Collection | = | Space Sweepers |
[2021-02-24 00:30:13,225] [util.py:649] [INFO] | Plex Popular Collection | = | SOMM |
[2021-02-24 00:30:13,250] [util.py:649] [INFO] | Plex Popular Collection | = | Saint Maud |
[2021-02-24 00:30:13,274] [util.py:649] [INFO] | Plex Popular Collection | + | SOMM: Into the Bottle |
[2021-02-24 00:30:13,398] [util.py:649] [INFO] | Plex Popular Collection | = | Betting on Zero |
[2021-02-24 00:30:13,403] [util.py:649] [INFO] | Plex Popular Collection | + | 機會 (기희) |
[2021-02-24 00:30:13,404] [util.py:594] [DEBUG] | Traceback (most recent call last): |
| File "/modules/config.py", line 404, in update_libraries
| builder.run_methods(collection_obj, collection_name, map, movie_map, show_map)
| File "/modules/builder.py", line 614, in run_methods
| if len(items) > 0: map = self.library.add_to_collection(collection_obj if collection_obj else collection_name, items, self.filters, self.details["show_filtered"], map, movie_map, show_map)
| File "/modules/plex.py", line 193, in add_to_collection
| else: current.addCollection(name)
| File "/usr/local/lib/python3.9/site-packages/plexapi/base.py", line 477, in addCollection
| self._edit_tags('collection', collections)
| File "/usr/local/lib/python3.9/site-packages/plexapi/base.py", line 465, in _edit_tags
| value = getattr(self, tag + 's')
| File "/usr/local/lib/python3.9/site-packages/plexapi/base.py", line 384, in __getattribute__
| value = super(PlexPartialObject, self).__getattribute__(attr)
| AttributeError: 'Track' object has no attribute 'collections'
|
[2021-02-24 00:30:13,406] [config.py:416] [ERROR] | Unknown Error: 'Track' object has no attribute 'collections'