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

Error when running the first time #102

Closed
npentell opened this issue Feb 26, 2024 · 7 comments
Closed

Error when running the first time #102

npentell opened this issue Feb 26, 2024 · 7 comments
Labels
issue / bug Something is not working

Comments

@npentell
Copy link

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
Copy link
Owner

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

Let me know if you have any more issues.

@npentell
Copy link
Author

npentell commented Feb 26, 2024 via email

@terrelsa13
Copy link
Owner

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
Copy link
Author

npentell commented Feb 26, 2024 via email

@terrelsa13
Copy link
Owner

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

@npentell
Copy link
Author

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

@terrelsa13 terrelsa13 added the issue / bug Something is not working label Feb 27, 2024
@terrelsa13
Copy link
Owner

You are welcome! I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue / bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants