MindHunter86 / aniliSeeder

MIT License
0 stars 0 forks source link

incorrect titles name parsing #126

Open MindHunter86 opened 1 year ago

MindHunter86 commented 1 year ago
9:20PM INF received a cmd from the client client=unix cmd="deployAniChanges\n" func=app.(*SockServer).clientRpcHandler
9:20PM DBG worker reply accepted, authorizing... func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the worker's reply has been authorized func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG got reply from the worker with torrents list func=master.(*worker).getTorrents torrents_count=58
9:20PM DBG Called getResponse. func=anilibria.(*ApiClient).getApiResponse
9:20PM INF unauthorized request detected; initiate the authentication process... func=anilibria.(*ApiClient).checkApiAuthorization
9:20PM DBG Called apiAuthorize() func=anilibria.(*ApiClient).GetApiAuthorization
9:20PM DBG trying to complete authentication process on anilibria func=anilibria.(*ApiClient).GetApiAuthorization username=mindhunter86
9:20PM DBG Called apiAuthorize func=anilibria.(*ApiClient).apiAuthorize
9:20PM INF authentication process has been completed successfully func=anilibria.(*ApiClient).apiAuthorize session=e9PVlz7RMuwDsoh4WZS78uWZ0frxZHXQ
9:20PM DBG ani api 200 OK api_method=/getChanges func=anilibria.(*ApiClient).getApiResponse
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=3996 title_name="Boruto: Naruto Next Generations" torrent_hash=a0f7ce5f1 torrent_size_mb=26526
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=3996 title_name="Boruto: Naruto Next Generations" torrent_hash=6e1519dee torrent_size_mb=136589
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=3996 title_name="Boruto: Naruto Next Generations" torrent_hash=55d7a6cd4 torrent_size_mb=180756
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=3996 title_name="Boruto: Naruto Next Generations" torrent_hash=05598afa8 torrent_size_mb=25420
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=3996 title_name="Boruto: Naruto Next Generations" torrent_hash=a992ef43d torrent_size_mb=54152
9:20PM INF skipping a torrent because the torrent is larger than the download limit... download_limit=15360 func=app.(*deploy).getAnilibriaTorrents title_id=9156 title_name="Monogatari Series: Second Season" torrent_hash=6a11185ae torrent_size_mb=35336
9:20PM DBG there is deployment candidate found func=app.(*deploy).getTorrentsDifference title_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p HEVC].mkv" torrent_hash=a12b54354 torrent_size=1869592866
9:20PM DBG there is deployment candidate found func=app.(*deploy).getTorrentsDifference title_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p].mkv" torrent_hash=bbfb26b37 torrent_size=7704750745
9:20PM DBG sorted slice debug func=app.(*deploy).sortTorrentsByLeechers torrent_hash=a12b54354 torrent_leechers=1 torrent_size_mb=1782
9:20PM DBG sorted slice debug func=app.(*deploy).sortTorrentsByLeechers torrent_hash=bbfb26b37 torrent_leechers=1 torrent_size_mb=7347
9:20PM DBG worker reply accepted, authorizing... func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the worker's reply has been authorized func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG got reply from the worker with system free space func=master.(*worker).getFreeSpace worker_fspace=591659294720
9:20PM DBG collecting the worker for further balancing func=app.(*deploy).assignTorrentsToWorkers worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the torrent has been assigned to the worker func=app.(*deploy).assignTorrentsToWorkers torrent_hash=a12b54354 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p HEVC].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the torrent has been assigned to the worker func=app.(*deploy).assignTorrentsToWorkers torrent_hash=bbfb26b37 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG starting deploy process for the torrent... func=app.(*deploy).deployAssignedTorrents torrent_hash=a12b54354 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p HEVC].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the requested torrent file has been found func=anilibria.(*ApiClient).downloadTorrentFile
9:20PM DBG trying to parse the torrent file contents... filename="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p][Фильм].torrent" func=anilibria.(*ApiClient).downloadTorrentFile
9:20PM DBG fixing torrent name... func=app.(*deploy).deployAssignedTorrents old_torrent_name="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p][Фильм].torrent" torrent_hash=a12b54354
9:20PM DBG sending deploy request to the worker... func=app.(*deploy).deployAssignedTorrents torrent_hash=a12b54354 torrent_name="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p HEVC][Фильм].torrent"
9:20PM DBG worker reply accepted, authorizing... func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the worker's reply has been authorized func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG got reply from the worker with written bytes func=master.(*worker).saveTorrentFile written_bytes=4786
9:20PM INF the torrent file has been sended to the worker func=app.(*deploy).deployAssignedTorrents torrent_hash=a12b54354 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p HEVC].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa written_bytes=4786
9:20PM DBG starting deploy process for the torrent... func=app.(*deploy).deployAssignedTorrents torrent_hash=bbfb26b37 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the requested torrent file has been found func=anilibria.(*ApiClient).downloadTorrentFile
9:20PM DBG trying to parse the torrent file contents... filename="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p][Фильм].torrent" func=anilibria.(*ApiClient).downloadTorrentFile
9:20PM DBG fixing torrent name... func=app.(*deploy).deployAssignedTorrents old_torrent_name="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p][Фильм].torrent" torrent_hash=bbfb26b37
9:20PM DBG sending deploy request to the worker... func=app.(*deploy).deployAssignedTorrents torrent_hash=bbfb26b37 torrent_name="Shika no Ou: Yuna to Yakusoku no Tabi - AniLibria.TV [WEBRip 1080p][Фильм].torrent"
9:20PM DBG worker reply accepted, authorizing... func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG the worker's reply has been authorized func=master.(*worker).authorizeSerivceReply worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa
9:20PM DBG got reply from the worker with written bytes func=master.(*worker).saveTorrentFile written_bytes=18719
9:20PM INF the torrent file has been sended to the worker func=app.(*deploy).deployAssignedTorrents torrent_hash=bbfb26b37 torrent_name="Shika no Ou Yuna to Yakusoku no Tabi [AniLibria TV] [WEBRip 1080p].mkv" worker_id=6cd1fb20-80aa-435e-8ba0-eb25f48b33aa written_bytes=18719
9:20PM DBG successfully responded to the client client=unix func=app.(*SockServer).checkRespondErrors response_length=1283
![Screenshot from 2022-11-03 00-20-48](https://user-images.githubusercontent.com/8397729/199604868-9539a201-055b-4faf-939e-1df4ca23c5f3.png)
![Screenshot from 2022-11-03 00-20-42](https://user-images.githubusercontent.com/8397729/199604876-0b44ce0c-1595-4753-b600-5e7ac9c86a13.png)
MindHunter86 commented 1 year ago

Screenshot from 2022-11-03 00-20-48 Screenshot from 2022-11-03 00-20-42

MindHunter86 commented 1 year ago

Screenshot from 2022-11-03 10-34-19

MindHunter86 commented 1 year ago

9316 - a12.. bbf..

MindHunter86 commented 1 year ago

120 is required for manual testing