Skip to content

Instantly share code, notes, and snippets.

@danielchc
Last active November 15, 2024 16:42
Show Gist options
  • Save danielchc/c159626485a08c76856b2d30ae457e04 to your computer and use it in GitHub Desktop.
Save danielchc/c159626485a08c76856b2d30ae457e04 to your computer and use it in GitHub Desktop.
Emby Premiere: ByPass Docker container

Emby Premiere ByPass Docker container

❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it

Table of Contents

Compatibility

Tested on version 4.9.0.28. Last update: September 13, 2024

This tutorial allows you to run Emby Premiere on:

Emby Premiere Local device Remote device
Web ✔️* ✔️
Mobile ✔️
Emby Theater ✔️ ?
Other devices

* The use of DoH may cause cosmetic issues

Getting Started

Create the working folder

mkdir -p emby/{mb3admin,server}
cd emby

1. Local client bypass

Folder structure

.
└── mb3admin
    ├── certs
    │   ├── emby.crt
    │   ├── emby.key
    │   └── ssl-dhparams.pem
    ├── Dockerfile
    └── nginx.conf

Steps

  1. Change working directory
mkdir certs
  1. Create certs folder
mkdir certs
  1. Generate a self-signed certificate for the fake mb3admin.com server to use:
openssl req -x509 -newkey rsa:2048 -days 36525 -nodes -subj '/CN=mb3admin.com' -addext "subjectAltName = DNS:www.mb3admin.com, DNS:mb3admin.com"  -out certs/emby.crt -keyout certs/emby.key
  1. Download ssl-dhparams.pem
curl https://ssl-config.mozilla.org/ffdhe2048.txt > certs/ssl-dhparams.pem
  1. Create nginx.conf file
events {
  worker_connections  4096;  ## Default: 1024
}

http{

	server {
	    listen 80;
	    listen [::]:80;
	    server_name mb3admin.com;
	    return 301 https://mb3admin.com$request_uri;
	}

	server {
	    listen 443 ssl http2;
	    listen [::]:443 ssl http2;
	    server_name mb3admin.com;

	    ssl_certificate /certs/emby.crt;
	    ssl_certificate_key /certs/emby.key;
	    ssl_session_timeout 1d;
	    ssl_session_cache shared:SSL:10m;  # about 40000 sessions
	    ssl_session_tickets off;

	    # curl https://ssl-config.mozilla.org/ffdhe2048.txt > /path/to/dhparam.pem
	    ssl_dhparam /certs/ssl-dhparams.pem;

	    # intermediate configuration
	    ssl_protocols TLSv1.2 TLSv1.3;
	    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
	    ssl_prefer_server_ciphers off;

	    location / {
		resolver 8.8.8.8 ipv6=off;
		set $target https://mb3admin.com;
		proxy_pass $target;
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto $scheme;
	    }

	    location /admin/service/registration/validateDevice{
		default_type application/json;
		return 200 '{"cacheExpirationDays":3650,"message":"Device Valid (limit not checked)","resultCode":"GOOD"}';
	    }

	    location /admin/service/registration/validate {
		default_type application/json;
		return 200 '{"featId":"","registered":true,"expDate":"2099-01-01","key":""}';
	    }

	    location /admin/service/registration/getStatus {
		default_type application/json;
		return 200 '{"planType":"Lifetime","deviceStatus":0,"subscriptions":[]}';
	    }

	    location /admin/service/appstore/register {
		default_type application/json;
		return 200 '{"featId":"","registered":true,"expDate":"2099-01-01","key":""}';
	    }

	    location /emby/Plugins/SecurityInfo {
		default_type application/json;
		return 200 '{SupporterKey:"", IsMBSupporter:true}';
	    }

	    add_header Access-Control-Allow-Origin * always;
	    add_header Access-Control-Allow-Headers * always;
	    add_header Access-Control-Allow-Method * always;
	    add_header Access-Control-Allow-Credentials true always;
	}
}
  1. Create Dockerfile file
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf
ADD certs /certs

2. Web client bypass

Folder structure

.
└── server
    ├── Dockerfile
    └── patch
        ├── emby.crt
        ├── ilasm
        └── ildasm

Steps

  1. Change working directory
cd server
  1. Create patch folder
mkdir patch
  1. Copy emby.crt from ../mb3admin/certs to patch folder
cp ../mb3admin/certs/emby.crt patch
  1. Download ilasm and ildasm for your architecture and copy in patch folder.

You can get it here for x86_64 architecture : ilasm ildasm

You can get it here for arm64(Raspberry Pi 4) architecture. Just double click the binary file inside runtimes/linux-arm64/native and it will automatically download : ilasm ildasm

You can get it here for arm(Raspberry Pi <3) architecture. Just double click the binary file inside runtimes/linux-arm/native and it will automatically download : ilasm ildasm

Or you can download the deb package. You should unpack the .deb and find the executables in ./usr/bin/

  1. Create Dockerfile file
FROM linuxserver/emby:beta

ADD patch /patch

RUN chmod +x /patch/ilasm
RUN chmod +x /patch/ildasm
RUN mkdir /patch/tmp

WORKDIR /patch/tmp

RUN /patch/ildasm /app/emby/system/Emby.Web.dll -out=Emby.Web.dll

RUN sed -i 's#ajax({url:"https://mb3admin.com/admin/service/registration/validateDevice?"+new URLSearchParams(params).toString(),type:"POST",dataType:"json"})#Promise.resolve(new Response('"'"'{"cacheExpirationDays":365,"message":"Device Valid","resultCode":"GOOD"}'"'"').json())#g' Emby.Web.dashboard_ui.modules.emby_apiclient.connectionmanager.js

RUN /patch/ilasm -dll Emby.Web.dll -out=/app/emby/system/Emby.Web.dll
RUN cat /patch/emby.crt >> /app/emby/etc/ssl/certs/ca-certificates.crt

3. Docker Compose setup

Folder structure

.
├── compose.yml
├── mb3admin
│   ├── certs
│   │   ├── emby.crt
│   │   ├── emby.key
│   │   └── ssl-dhparams.pem
│   ├── Dockerfile
│   └── nginx.conf
└── server
    ├── Dockerfile
    └── patch
        ├── emby.crt
        ├── ilasm
        └── ildasm

Steps

⚠️ It is mandatory that the server where the Emby server is running has a DNS configured that resolves mb3admin.com to the local IP of the nginx server.

  1. Now, you have to options:

    a. Recommended: Edit your local DNS (Pihole, Adguard, router, bind...) and rewrite mb3admin.com with local IP.

    image

    b. Edit the hosts file of each device you're going to use Emby.

    • Windows: C:\Windows\System32\drivers\etc\hosts
    • Linux: /etc/hosts
    <your_local_ip_adress_here> mb3admin.com
    

    ⚠️ Replace <your_local_ip_adress_here> with the IP of machine where the containers run.

  2. Create compose.yml

services:
  emby:
      build: ./server
      container_name: emby
      environment:
        - PUID=1000
        - PGID=1000
        - TZ=Europe/London
      volumes:
        - ./config:/config
        - /media/tv:/data/tvshows
        - /media/movies:/data/movies
      ports:
        - 8096:8096
        - 8920:8920 #optional
      restart: unless-stopped
  mb3admin:
      build: ./mb3admin
      container_name: mb3admin
      ports:
        - 443:443
      restart: unless-stopped
      networks:
        default:
          aliases:
            - mb3admin.com
  1. Start containers
docker compose up -d
  1. Check if everything is OK

Execute

docker exec emby bash -c "curl -w '\n' -s  --cacert /app/emby/etc/ssl/certs/ca-certificates.crt  https://mb3admin.com/admin/service/registration/validateDevice"

If the output is as follows everything is fine

{"cacheExpirationDays":3650,"message":"Device Valid (limit not checked)","resultCode":"GOOD"}

First Run

  1. Open https://mb3admin.com in your browser and accept the self-signed certificate

image

  1. Open the Emby Premiere Section in Settings, and write whatever you want in the "Emby Premiere key (paste from e-mail)" and click "Save"

image

Apps

⚠️ You MUST do the above steps for this to work

Emby Theater

  1. Go to
  • Windows: %appdata%\Emby-Theater\system\electronapp
  • Linux: /opt/emby-theater/electron/resources/app/
  1. Open main.js with text editor
  2. After this
app.on('window-all-closed', function () {
    // On OS X it is common for applications and their menu bar
    // to stay active until the user quits explicitly with Cmd + Q
    if (process.platform != 'darwin') {
        app.quit();
    }
});

Add this:

app.on('certificate-error', (event, webContents, url, error, certificate, callback) => {
        event.preventDefault()
        callback(true)
})

Android

You DON'T NEED TO DO any extra steps to make it work on Android on local network. First time you open the app it will prompt a dialog to accept self-signed certificate. If this dialog does not appear you have done something wrong.

Dialog

If you want it to work outside the local network, you need to get a modded apk

Android TV

You must go to the settings and enable "Allow Untrusted SSL Playback"

image

Thanks @OrpheeGT for the information

Miscellaneous

Update Emby version

  1. Change to the folder where the compose.yml file is
  2. Build a new emby image
docker compose build emby --pull --no-cache
  1. Restart container
docker compose up -d

Credits

Special thanks for helping me improve this information to:

  • @potatoru
  • @orangejuice
  • @OrpheeGT
  • @senhan07
@OrpheeGT
Copy link

You seems to have an issue with patch.

2024-09-15 12:41:15.009 Info LiveTvManager: Emby Live TV and DVR requires an active Emby Premiere subscription.

You must have failed somewere, client or server...

Here is my log when I launch IPTV Rai channel :

2024-09-15 14:09:56.671 Info Server: http/1.1 POST http://host2/emby/Items/5779/PlaybackInfo?UserId=df02d0d5b6274e4a9320772fe4ff5ab2&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=160000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
2024-09-15 14:09:56.672 Info App: User policy for orphee. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-09-15 14:09:56.672 Info LiveTvManager: Opening channel stream, external channel Id: m3u_e9483cacdab781d97b910ef3463c740d3fdcca37d52201a9f41aef54376fa89b
2024-09-15 14:09:56.672 Info LiveTV: Streaming Channel m3u_e9483cacdab781d97b910ef3463c740d3fdcca37d52201a9f41aef54376fa89b, with streamId: 3fdcca37d52201a9f41aef54376fa89b
2024-09-15 14:09:56.672 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from http://host6/x_path5_x/x_path6_x?cont=2606803&output=7&forceUserAgent=raiplayappletv
2024-09-15 14:09:56.672 Info HttpClient: GET http://host6/x_path5_x/x_path6_x?cont=2606803&output=7&forceUserAgent=raiplayappletv
2024-09-15 14:09:56.864 Info HttpClient: Http response 200 from http://host6/x_path5_x/x_path6_x?cont=2606803&output=7&forceUserAgent=raiplayappletv after 192ms. HeadersAccept-Ranges=bytes, ETag="51a83016a9c866c8213e52cdbcd19d3d:1415293655", Server=AkamaiNetStorage, Cache-Control=max-age=27678836, Date=Sun, 15 Sep 2024 12:09:56 GMT, Connection=keep-alive, Akamai-Mon-Iucid-Del=631717, Alt-Svc=h3-Q050=":443"; ma=93600 quic=":443"; ma=93600, Access-Control-Max-Age=86400, Access-Control-Allow-Credentials=true, Access-Control-Expose-Headers=Server,range,hdntl,hdnts,Akamai-Mon-Iucid-Ing,Akamai-Mon-Iucid-Del, Access-Control-Allow-Headers=origin,range,hdntl,hdnts, Access-Control-Allow-Methods=GET,POST,OPTIONS, Access-Control-Allow-Origin=*
2024-09-15 14:09:56.865 Info M3UTunerHost: Live stream opened after 192.4247ms
2024-09-15 14:09:56.865 Info LiveTV: Returning mediasource streamId 3fdcca37d52201a9f41aef54376fa89b, mediaSource.Id 3fdcca37d52201a9f41aef54376fa89b, mediaSource.LiveStreamId 
2024-09-15 14:09:59.865 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/bin/ffprobe -analyzeduration 3000000 -user_agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" -i "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7&forceUserAgent=raiplayappletv" -threads 0 -v info -print_format json -show_streams -show_format -show_data
2024-09-15 14:10:00.059 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2024-09-15 14:10:00.063 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"3fdcca37d52201a9f41aef54376fa89b","Path":"http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7&forceUserAgent=raiplayappletv","Type":"Default","Container":"mp4","Size":1687158,"IsRemote":true,"RunTimeTicks":157992000,"ContainerStartTimeTicks":4000000,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"IsInfiniteStream":false,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b","RequiresLooping":true,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"eng","StreamStartTimeTicks":4000000,"TimeBase":"1/10000","VideoRange":"SDR","DisplayTitle":"576p H264","DisplayLanguage":"English","NalLengthSize":"4","IsInterlaced":false,"BitRate":852905,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":576,"Width":1024,"AverageFrameRate":7.341772,"RealFrameRate":20,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false}],"Formats":[],"Bitrate":852905,"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","Referrer":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"},"ReadAtNativeFramerate":false}
2024-09-15 14:10:00.063 Info App: User policy for orphee. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-09-15 14:10:00.063 Info Server: http/1.1 Response 200 to host3. Time: 3393ms. http://host2/emby/Items/5779/PlaybackInfo?UserId=df02d0d5b6274e4a9320772fe4ff5ab2&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=160000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json
2024-09-15 14:10:00.116 Info Server: http/1.1 GET http://host2/emby/videos/5779/master.m3u8?DeviceId=d9a076b1-5397-48eb-b935-6dbdf9a15295&MediaSourceId=3fdcca37d52201a9f41aef54376fa89b&PlaySessionId=d227880ae1ba445390ca9df89919e9bd&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b&VideoCodec=h264&VideoBitrate=160000000&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52. Accept=*/*, Host=movie.orphee.me, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0, Accept-Encoding=gzip, deflate, br, zstd, Accept-Language=fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3, Referer=https://movie.orphee.me/web/index.html, TE=trailers, DNT=1, [email protected], Remote-Groups=admins,dev, Remote-Name=Orphee, Remote-User=orphee, Sec-Fetch-Dest=empty, Sec-Fetch-Mode=cors, Sec-Fetch-Site=same-origin, X-Forwarded-For=192.168.1.132, X-Forwarded-Host=movie.orphee.me, X-Forwarded-Port=443, X-Forwarded-Proto=https, X-Forwarded-Server=6d409acfefb0, X-Real-Ip=192.168.1.132
2024-09-15 14:10:00.118 Info Server: http/1.1 Response 200 to host3. Time: 2ms. http://host2/emby/videos/5779/master.m3u8?DeviceId=d9a076b1-5397-48eb-b935-6dbdf9a15295&MediaSourceId=3fdcca37d52201a9f41aef54376fa89b&PlaySessionId=d227880ae1ba445390ca9df89919e9bd&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b&VideoCodec=h264&VideoBitrate=160000000&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52
2024-09-15 14:10:00.158 Info Server: http/1.1 GET http://host2/emby/videos/5779/main.m3u8?DeviceId=d9a076b1-5397-48eb-b935-6dbdf9a15295&MediaSourceId=3fdcca37d52201a9f41aef54376fa89b&PlaySessionId=d227880ae1ba445390ca9df89919e9bd&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b&VideoCodec=h264&VideoBitrate=160000000&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52. Accept=*/*, Host=movie.orphee.me, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0, Accept-Encoding=gzip, deflate, br, zstd, Accept-Language=fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3, Referer=https://movie.orphee.me/web/index.html, TE=trailers, DNT=1, [email protected], Remote-Groups=admins,dev, Remote-Name=Orphee, Remote-User=orphee, Sec-Fetch-Dest=empty, Sec-Fetch-Mode=cors, Sec-Fetch-Site=same-origin, X-Forwarded-For=192.168.1.132, X-Forwarded-Host=movie.orphee.me, X-Forwarded-Port=443, X-Forwarded-Proto=https, X-Forwarded-Server=6d409acfefb0, X-Real-Ip=192.168.1.132
2024-09-15 14:10:00.159 Info Server: http/1.1 Response 200 to host3. Time: 1ms. http://host2/emby/videos/5779/main.m3u8?DeviceId=d9a076b1-5397-48eb-b935-6dbdf9a15295&MediaSourceId=3fdcca37d52201a9f41aef54376fa89b&PlaySessionId=d227880ae1ba445390ca9df89919e9bd&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b&VideoCodec=h264&VideoBitrate=160000000&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52
2024-09-15 14:10:00.188 Info Server: http/1.1 GET http://host2/emby/videos/5779/hls1/main/0.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd. Accept=*/*, Host=movie.orphee.me, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0, Accept-Encoding=gzip, deflate, br, zstd, Accept-Language=fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3, Referer=https://movie.orphee.me/web/index.html, TE=trailers, DNT=1, [email protected], Remote-Groups=admins,dev, Remote-Name=Orphee, Remote-User=orphee, Sec-Fetch-Dest=empty, Sec-Fetch-Mode=cors, Sec-Fetch-Site=same-origin, X-Forwarded-For=192.168.1.132, X-Forwarded-Host=movie.orphee.me, X-Forwarded-Port=443, X-Forwarded-Proto=https, X-Forwarded-Server=6d409acfefb0, X-Real-Ip=192.168.1.132
2024-09-15 14:10:00.210 Info App: ProcessRun 'StreamTranscode 4128e0' Execute: /var/packages/EmbyServer/target/bin/ffmpeg -loglevel +timing -y -print_graphs_file "/var/packages/EmbyServer/var/logs/ffmpeg-remux-4128e0a5-6b7b-410b-9bbb-0d4abd4b3370_1graph.txt" -copyts -start_at_zero -f mp4 -noaccurate_seek -stream_loop -1 -c:v:0 h264 -user_agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" -multiple_requests 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7&forceUserAgent=raiplayappletv" -map 0:0 -an -sn -c:v:0 copy -bsf:v:0 h264_mp4toannexb -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/var/packages/EmbyServer/var/transcoding-temp/227702/227702.m3u8" -segment_list_type m3u8 -segment_time 00:00:06.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/var/packages/EmbyServer/var/transcoding-temp/227702/227702_%d.ts"
2024-09-15 14:10:00.543 Info Server: http/1.1 Response 200 to host3. Time: 356ms. http://host2/emby/videos/5779/hls1/main/0.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd
2024-09-15 14:10:00.607 Info Server: http/1.1 GET http://host2/emby/videos/5779/hls1/main/1.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd. Accept=*/*, Host=movie.orphee.me, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0, Accept-Encoding=gzip, deflate, br, zstd, Accept-Language=fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3, Referer=https://movie.orphee.me/web/index.html, TE=trailers, DNT=1, [email protected], Remote-Groups=admins,dev, Remote-Name=Orphee, Remote-User=orphee, Sec-Fetch-Dest=empty, Sec-Fetch-Mode=cors, Sec-Fetch-Site=same-origin, X-Forwarded-For=192.168.1.132, X-Forwarded-Host=movie.orphee.me, X-Forwarded-Port=443, X-Forwarded-Proto=https, X-Forwarded-Server=6d409acfefb0, X-Real-Ip=192.168.1.132
2024-09-15 14:10:00.644 Info Server: http/1.1 POST http://host2/emby/Sessions/Playing?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
2024-09-15 14:10:00.645 Info Server: http/1.1 POST http://host2/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
2024-09-15 14:10:00.646 Info Server: http/1.1 Response 204 to host3. Time: 2ms. http://host2/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json
2024-09-15 14:10:00.647 Info SessionManager: Playback start reported by app Emby Web 4.7.14.0 playing [1] Rai 1. Started at 0 ms
2024-09-15 14:10:00.647 Info Server: http/1.1 Response 204 to host3. Time: 4ms. http://host2/emby/Sessions/Playing?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json
2024-09-15 14:10:00.674 Info Server: http/1.1 Response 200 to host3. Time: 67ms. http://host2/emby/videos/5779/hls1/main/1.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd
2024-09-15 14:10:00.722 Info Server: http/1.1 GET http://host2/emby/videos/5779/hls1/main/2.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd. Accept=*/*, Host=movie.orphee.me, User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0, Accept-Encoding=gzip, deflate, br, zstd, Accept-Language=fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3, Referer=https://movie.orphee.me/web/index.html, TE=trailers, DNT=1, [email protected], Remote-Groups=admins,dev, Remote-Name=Orphee, Remote-User=orphee, Sec-Fetch-Dest=empty, Sec-Fetch-Mode=cors, Sec-Fetch-Site=same-origin, X-Forwarded-For=192.168.1.132, X-Forwarded-Host=movie.orphee.me, X-Forwarded-Port=443, X-Forwarded-Proto=https, X-Forwarded-Server=6d409acfefb0, X-Real-Ip=192.168.1.132
2024-09-15 14:10:00.738 Info Server: http/1.1 Response 200 to host3. Time: 17ms. http://host2/emby/videos/5779/hls1/main/2.ts?PlaySessionId=d227880ae1ba445390ca9df89919e9bd
2024-09-15 14:10:01.971 Info Server: http/1.1 POST http://host2/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
2024-09-15 14:10:01.972 Info Server: http/1.1 Response 204 to host3. Time: 1ms. http://host2/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json
2024-09-15 14:10:02.833 Info Server: http/1.1 POST http://host2/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
2024-09-15 14:10:02.834 Info App: ProcessRun 'StreamTranscode 4128e0': Stopping ffmpeg process with q command for /var/packages/EmbyServer/var/transcoding-temp/227702/227702_0.ts
2024-09-15 14:10:02.899 Info App: AppendExtraLogData - Read graph file: /var/packages/EmbyServer/var/logs/ffmpeg-remux-4128e0a5-6b7b-410b-9bbb-0d4abd4b3370_1graph.txt
2024-09-15 14:10:02.899 Info App: AppendExtraLogData - Deserialized GraphData fileStream: 27.00 bytes Graph Count: 0
2024-09-15 14:10:02.900 Info App: AppendExtraLogData - File Deleted
2024-09-15 14:10:02.900 Info App: ProcessRun 'StreamTranscode 4128e0' Process exited with code 0 - Succeeded
2024-09-15 14:10:02.900 Info SessionManager: Playback stopped reported by app Emby Web 4.7.14.0 playing [1] Rai 1. Stopped at 1295 ms
2024-09-15 14:10:02.901 Info MediaSourceManager: Live stream 3fdcca37d52201a9f41aef54376fa89b consumer count is now 0
2024-09-15 14:10:02.901 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b
2024-09-15 14:10:02.901 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource
2024-09-15 14:10:02.901 Info SharedHttpPipelineSource: Deleting temp files /var/packages/EmbyServer/var/transcoding-temp/332815ebb85740c0b0d0e7b581c3e084.ts
2024-09-15 14:10:02.901 Info MediaSourceManager: Live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_3fdcca37d52201a9f41aef54376fa89b closed successfully
2024-09-15 14:10:02.901 Info Server: http/1.1 Response 204 to host3. Time: 68ms. http://host2/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=d9a076b1-5397-48eb-b935-6dbdf9a15295&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=fr&reqformat=json

@StefanoGiu
Copy link

What shall I do then? I followed the guide with attention...

@StefanoGiu
Copy link

Certificate not valid... is this normal?
Schermata del 2024-09-15 15-29-25

@StefanoGiu
Copy link

This is now weird... I made another restart of the Emby server (after a lot of them) without touching the config, and now I can see the channels...

@amitkhare
Copy link

amitkhare commented Sep 17, 2024

Spinner thinggy keeps spinning, But It Worked!
I and went back to home page Refreshed the page after a few seconds of submitting the random key.

@OrpheeGT
Copy link

Spinner thinggy keeps spinning, But It Worked! I and went back to home page Refreshed the page after a few seconds of submitting the random key.

Got a Badge also!

image

Try this and you won't have the infinite spinning anymore :
https://gist.github.com/danielchc/c159626485a08c76856b2d30ae457e04?permalink_comment_id=5191918#gistcomment-5191918

@StefanoGiu
Copy link

How is it possible to remove the premiere warning when playing a movie/TV series on Emby Samsung Smart TV app?

@OrpheeGT
Copy link

How is it possible to remove the premiere warning when playing a movie/TV series on Emby Samsung Smart TV app?

The device must "trust" the self signed certificate.
On android apps, you have an option to do it.

Maybe you can't do it on Samsung TV. If so, this is not fixable.

@OrpheeGT
Copy link

Here how it is shown under Android TV app :

image

@danielchc you may want to add this screen too in the tutorial for Android TV :)
I don't remember if it is enabled by default when you install the app.

@danielchc
Copy link
Author

Here how it is shown under Android TV app :

image

@danielchc you may want to add this screen too in the tutorial for Android TV :) I don't remember if it is enabled by default when you install the app.

Sure! I just update the gist. Thank you again :)

@abdullahal39
Copy link

i don't can see this option

Emby Theater
Go to
Windows: %appdata%\Emby-Theater\system\electronapp
Linux: /opt/emby-theater/electron/resources/app/
Open main.js with text editor
After this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment