<https://api.telegram.org/bot911422485:AAH89aeNopSK7gi2cXFNIJTFpryD5ChMw5s/getMe>
<https://api.telegram.org/bot911422485:AAH89aeNopSK7gi2cXFNIJTFpryD5ChMw5s/getUpdates>
<https://api.telegram.org/bot911422485:AAH89aeNopSK7gi2cXFNIJTFpryD5ChMw5s/sendMessage?chat_id=966865824&user=user&pass=pass&phone=000text=hello> World
966865824
{"ok":true,"result":[{"update_id":387214638, "message":{"message_id":1,"from":{"id":966865824,"is_bot":false,"first_name":"\\ud0dd\\uc218","last_name":"\\uc190","language_code":"ko"},"chat":{"id":966865824,"first_name":"\\ud0dd\\uc218","last_name":"\\uc190","type":"private"},"date":1570173980,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}},{"update_id":387214639, "message":{"message_id":2,"from":{"id":966865824,"is_bot":false,"first_name":"\\ud0dd\\uc218","last_name":"\\uc190","language_code":"ko"},"chat":{"id":966865824,"first_name":"\\ud0dd\\uc218","last_name":"\\uc190","type":"private"},"date":1570173983,"text":"ddd"}}]}
911422485:AAH89aeNopSK7gi2cXFNIJTFpryD5ChMw5s
docker pull jellyfin/jellyfin
docker stop jellyfin-jellyfin1
docker rm jellyfin-jellyfin1
docker run -d --device=/dev/dri --net=bridge --name jellyfin-jellyfin1 -v /volume1/docker/jellyfin/config:/config -v /volume2/Media/Video:/media jellyfin/jellyfin
//docker run -d --name jellyfin-1 -v configpath:/config jellyfin/jellyfin:latest 등등 이전에 생성했던 명령 그대로....
docker start jellyfin-jellyfin1
docker pull jellyfin/jellyfin
docker stop jellyfin-jellyfin1
docker rm jellyfin-jellyfin1
docker run -d --device=/dev/dri --net=bridge --name jellyfin-jellyfin1 -v --datadir /config --cachedir /cache ffmpeg /usr/local/bin/ffmpeg --port 8096 jellyfin/jellyfin:latest
-v {config경로}:/config -v /volume2/Media/Video:/media jellyfin/jellyfin
/volume2/Media/Video:/media jellyfin/jellyfin
/volume1/docker/jellyfin/config -v
docker run -d --device=/dev/dri --net=bridge ffmpeg /usr/local/bin/ffmpeg -v /volume1/docker/jellyfin/config:/config -v /volume2/Media/Video:/media jellyfin/jellyfin
docker run -d --device=/dev/dri --net=bridge --name jellyfin-jellyfin1 -v /volume1/docker/jellyfin/config:/config -v /volume2/Media/Video:/media jellyfin/jellyfin
private static string getMessage(string message)
{
return string.Format("{1}{0}{2}" ,Environment.NewLine
, Info.SystemInfo.ProgramName
, message);
}
public static void EventLogInfo(string message)
{
using (System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry(getMessage(message)
, System.Diagnostics.EventLogEntryType.Information, 101, 1);
}
}
public static void EventLogError(string message)
{
using (System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry(getMessage(message)
, System.Diagnostics.EventLogEntryType.Error, 101, 1);
}
}