Server Version#: Version 4.12.3
Player Version#: Version 1.5
I have a Plex MM server running on a Synology DSM, and its working great for all me music, movies and tv shows.
Yesterday I use YouTube-dl from GitHub on my Mac and download a few videos from a YouTube chanel, then copy to my multimedia folder on Plex. After a few minutes the videos were available on my Plex library and I was happy.
Today I set a Task on my Synology to everyday at 5am run a user script like this:
echo "start downloading"
cd /
cd /volume1/myfoler
youtube-dl https://www.youtube.com/playlist?list --playlist-start 1 --playlist-end 1 -format mp4
The Task run my own user, and videos get there with no problem, but they just don’t apear on library. Ig I check the file on Plex filesystem is there, but I the videos I think they are no readable on Plex. I can open in my PC or with Synology video player.
Since the MM folder have to be own by http user, so I change the script to make user http run the script:
Your server has lost connectivity to the internet / DNS lookup
Jan 24, 2020 12:21:58.371 [0x7f8ff4ff9700] DEBUG - HTTP requesting POST http://127.0.0.1:32600/devices/discover
Jan 24, 2020 12:21:58.897 [0x7f9071ffb700] ERROR - Error issuing curl_easy_perform(handle): 6
Jan 24, 2020 12:21:58.897 [0x7f9071ffb700] WARN - HTTP error requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (0, No error) (Could not resolve host: plex.tv)
Jan 24, 2020 12:21:58.897 [0x7f9071ffb700] ERROR - Error parsing content.
Jan 24, 2020 12:21:58.897 [0x7f9071ffb700] ERROR - Error parsing XML: Error parsing file.
Jan 24, 2020 12:21:58.953 [0x7f90637fe700] ERROR - Error issuing curl_easy_perform(handle): 6
Jan 24, 2020 12:21:58.953 [0x7f90637fe700] WARN - HTTP error requesting GET https://plex.tv/api/v2/
and
Jan 24, 2020 12:22:01.103 [0x7f90357fa700] DEBUG - [com.plexapp.system] HTTP reply status 200, with 0 bytes of content.
Jan 24, 2020 12:22:04.590 [0x7f9062ffd700] ERROR - Error issuing curl_easy_perform(handle): 6
Jan 24, 2020 12:22:04.590 [0x7f9062ffd700] WARN - HTTP error requesting GET http://plex.tv/pms/:/ip (0, No error) (Could not resolve host: plex.tv)
Jan 24, 2020 12:22:04.590 [0x7f9062ffd700] ERROR - PublicAddressManager: Unable to get public IP adddress from myPlex (httpCode=-6):
Jan 24, 2020 12:22:04.591 [0x7f9062ffd700] DEBUG - MyPlex: Updating device connections (from timer: 0)
Jan 24, 2020 12:22:04.591 [0x7f9062ffd700] DEBUG - HTTP requesting PUT https://plex.tv/devices/1190176c3eeaa52b6c8efe233de6198571c1bcbe?Connection[][uri]=http://192.168.178.3:32400&httpsEnabled=1&httpsRequired=0&natLoopbackSupported=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Jan 24, 2020 12:22:04.594 [0x7f90377fe700] ERROR - Error issuing curl_easy_perform(handle): 6
Jan 24, 2020 12:22:04.594 [0x7f90377fe700] WARN - HTTP error requesting GET https://plex.tv/api/v2/user?includeSubscriptions=1&includeProviders=1 (0, No error) (Could not resolve host: plex.tv)
Jan 24, 2020 12:22:04.594 [0x7f90377fe700] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/user?includeSubscriptions=1&includeProviders=1