terrelsa13 / MUMC

Multi-User Media Cleaner aka MUMC (pronounced Mew-Mick) will go through movies, tv episodes, audio tracks, and audiobooks in your Emby/Jellyfin libraries deleting media items you no longer want.
GNU General Public License v3.0
92 stars 6 forks source link

Error when running the first time #102

Closed npentell closed 6 months ago

npentell commented 6 months ago

Hi, im running the script for the first time and getting the following error. Any advice?

`Start... Cleaning media for server at: http://localhost:8097/emby


Get List Of Media For: nick - HIDDEN


Traceback (most recent call last): File "/opt/MUMC/mumc.py", line 105, in MUMC() File "/opt/MUMC/mumc.py", line 76, in MUMC cfg=init_getMedia(cfg) File "/opt/MUMC/mumc_modules/mumc_get_media.py", line 819, in init_getMedia episode_returns=get_mediaItems(the_dict,the_dict['episode_dict']['media_type'],user_info,episode_returns) File "/opt/MUMC/mumc_modules/mumc_get_media.py", line 580, in get_mediaItems var_dict['item_isWhitelisted']=get_isItemWhitelisted_Blacklisted('whitelist',item,user_info,the_dict) File "/opt/MUMC/mumc_modules/mumc_blacklist_whitelist.py", line 42, in get_isItemWhitelisted_Blacklisted item_isWhitelisted_isBlacklisted, itemWhitelistedBlacklistedValue=get_isItemMatching_doesItemStartWith(ItemPath,user_wlbllib_path_json,the_dict) File "/opt/MUMC/mumc_modules/mumc_compare_items.py", line 60, in get_isItemMatching_doesItemStartWith item_two = item_two.replace('\','/') AttributeError: 'list' object has no attribute 'replace'`

terrelsa13 commented 6 months ago

Take a look at v5.4.2 on the MUMC_Latest branch.

Let me know if you have any more issues.

npentell commented 6 months ago

I'm on my phone now so I will have to confirm but I just installed it tonight and I believe that's the version I am on

On Sun, Feb 25, 2024, 11:12 PM terrelsa13 @.***> wrote:

Take a look at v5.4.2 https://github.com/terrelsa13/MUMC/releases/tag/v5.4.2 on the MUMC_Latest https://github.com/terrelsa13/MUMC branch.

Let me know if you have any more issues.

— Reply to this email directly, view it on GitHub https://github.com/terrelsa13/MUMC/issues/102#issuecomment-1963285708, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5VHHFYY7GEQM6M6XYXUM3YVQDSVAVCNFSM6AAAAABDZI4O2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGI4DKNZQHA . You are receiving this because you authored the thread.Message ID: @.***>

terrelsa13 commented 6 months ago

The script will print information to the console when it starts running. Version is part of the information and be be used to confirm the version (v5.4.2) just released about 10mins ago is the version being used.

npentell commented 6 months ago

Oh if it was just released then I do not have it. I will give it a try.

Thank you!

On Sun, Feb 25, 2024, 11:21 PM terrelsa13 @.***> wrote:

The script will print information to the console when it starts running. Version is part of the information and be be used to confirm the version (v5.4.2) just released about 10mins ago is the version being used.

— Reply to this email directly, view it on GitHub https://github.com/terrelsa13/MUMC/issues/102#issuecomment-1963292280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5VHHBHP45THGJ32ZZJCR3YVQEVFAVCNFSM6AAAAABDZI4O2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGI4TEMRYGA . You are receiving this because you authored the thread.Message ID: @.***>

terrelsa13 commented 6 months ago

Np. Let me know if this does or does not fix the issue.

npentell commented 6 months ago

The update fixed it. Works like a charm. Thank you!

terrelsa13 commented 6 months ago

You are welcome! I will close this issue.