{"action":"opened","issue":{"url":"https://api.github.com/repos/ZeroQI/Hama.bundle/issues/229","repository_url":"https://api.github.com/repos/ZeroQI/Hama.bundle","labels_url":"https://api.github.com/repos/ZeroQI/Hama.bundle/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/ZeroQI/Hama.bundle/issues/229/comments","events_url":"https://api.github.com/repos/ZeroQI/Hama.bundle/issues/229/events","html_url":"https://github.com/ZeroQI/Hama.bundle/issues/229","id":337469703,"node_id":"MDU6SXNzdWUzMzc0Njk3MDM=","number":229,"title":"Permission problem","user":{"login":"dennis-van-bennekom","id":6653979,"node_id":"MDQ6VXNlcjY2NTM5Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/6653979?v=4","gravatar_id":"","url":"https://api.github.com/users/dennis-van-bennekom","html_url":"https://github.com/dennis-van-bennekom","followers_url":"https://api.github.com/users/dennis-van-bennekom/followers","following_url":"https://api.github.com/users/dennis-van-bennekom/following{/other_user}","gists_url":"https://api.github.com/users/dennis-van-bennekom/gists{/gist_id}","starred_url":"https://api.github.com/users/dennis-van-bennekom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennis-van-bennekom/subscriptions","organizations_url":"https://api.github.com/users/dennis-van-bennekom/orgs","repos_url":"https://api.github.com/users/dennis-van-bennekom/repos","events_url":"https://api.github.com/users/dennis-van-bennekom/events{/privacy}","received_events_url":"https://api.github.com/users/dennis-van-bennekom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T10:55:53Z","updated_at":"2018-07-02T10:55:53Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nThe problem I'm having is that I'm not getting any metadata for any Anime in my library. After some investigation I found that this is where it seems to go wrong:\r\n\r\n```\r\n2018-07-02 06:49:41,434 (7f31175fe700) :  INFO (common:119) - [!] file:       \"/home/dennis/drive/Anime/Another/[Coalgirls]_Another_11_(1280x720_Blu-Ray_FLAC)_[C8B6D337].mkv\"\r\n2018-07-02 06:49:41,434 (7f31175fe700) :  INFO (common:81) - [!] Library access denied\r\n2018-07-02 06:49:41,435 (7f31175fe700) :  INFO (common:84) - [!] ASS root scanner file present: \"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/_root_.scanner.log\"\r\n2018-07-02 06:49:41,437 (7f31175fe700) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'HamaTV', called with keyword arguments {'openSubtitlesHash': '577a76e48bc4387a', 'episode': '12', 'name': '_', 'episodic': '1', 'show': 'Another', 'season': '1', 'plexHash': '7880cc7af237abec9a1c94f3799b2c0ab67307ba', 'filename': '%2Fhome%2Fdennis%2Fdrive%2FAnime%2FAnother%2F[Coalgirls]_Another_12_(1280x720_Blu-Ray_FLAC)_[C530F1E1]%2Emkv', 'year': None, 'duration': '1561105', 'id': '70'} (most recent call last):\r\n  File \"/usr/lib/plexmediaserver/Resources/Plug-ins-fd05be322/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py\", line 1007, in _search\r\n    agent.search(*f_args, **f_kwargs)\r\n  File \"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py\", line 131, in search\r\n    def search (self, results,  media, lang, manual):  Search (results,  media, lang, manual, False)\r\n  File \"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py\", line 72, in Search\r\n    log = common.PlexLog(media=media, movie=movie, search=True)\r\n  File \"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/common.py\", line 120, in __init__\r\n    library, root, path = GetLibraryRootPath(GetMediaDir(media, movie))#Get movie or serie episode folder location\r\n  File \"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/common.py\", line 85, in GetLibraryRootPath\r\n    with open(filename, 'r') as file:  line=file.read()\r\nTypeError: bad argument type for built-in operation\r\n\r\n2018-07-02 06:49:41,438 (7f31175fe700) :  DEBUG (runtime:88) - Sending packed state data (104 bytes)\r\n2018-07-02 06:49:41,439 (7f31175fe700) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes\r\n```\r\n\r\nIt is a series library using the Absolute Series Scanner.\r\nThis also happens if I try to refresh the series manually.\r\n\r\nThanks for the help!"}}
{"actor":{"display_login":"dennis-van-bennekom"}}