@@ -555,11 +555,54 @@ make `.info.json` optional However at the moment the file is required for emby/j
555
555
* Download this plugin [ jf-ytdlp-info-reader-plugin] ( https://github.com/arabcoders/jf-ytdlp-info-reader-plugin ) . Please
556
556
refer to the link on how to install it.
557
557
558
- ### Emby Setup
558
+ #### Emby Setup
559
559
560
560
* Download this plugin [ emby-ytdlp-info-reader-plugin] ( https://github.com/arabcoders/emby-ytdlp-info-reader-plugin ) .
561
561
Please refer to the link on how to install it.
562
562
563
563
If your media is not matching correctly or not marking it as expected, it's most likely scanners issues as plex and
564
564
jellyfin/emby reports the GUID differently, and we try our best to match them. So, please hop on discord with the
565
- relevant data if they are not matching correctly, and we hopefully can resolve it.
565
+ relevant data if they are not matching correctly, and we hopefully can resolve it.
566
+
567
+ ---
568
+
569
+ ### How to check if the container able to communicate with the media backends?
570
+
571
+ If you having problem adding a backend to ` WatchState ` , it most likely network related problem, Where the container
572
+ isn't able to communicate with the media backend. Thus, you will get errors. To make sure the container is able to
573
+ communicate with the media backend, you can run the following command and check the output.
574
+
575
+ If the command fails for any reason, then you most likely have network related problem.
576
+
577
+ #### For Plex.
578
+
579
+ ``` bash
580
+ $ docker exec -ti watchstate bash
581
+ $ curl -v -H " Accept: application/json" -H " X-Plex-Token: [PLEX_TOKEN]" http://[PLEX_URL]/library/sections
582
+ ```
583
+
584
+ * Replace ` [PLEX_TOKEN] ` with your plex token.
585
+ * Replace ` [PLEX_URL] ` with your plex url. The one you selected when prompted by the command.
586
+
587
+ ```
588
+ {"MediaContainer":{"size":25,...}}
589
+ ```
590
+
591
+ If everything is working correctly you should see something like this previous json output.
592
+
593
+ #### For Jellyfin & Emby.
594
+
595
+ ``` bash
596
+ $ docker exec -ti watchstate bash
597
+ $ curl -v -H " Accept: application/json" -H " X-MediaBrowser-Token: [BACKEND_API_KEY]" http://[BACKEND_HOST]/library/sections
598
+ ```
599
+
600
+ * Replace ` [BACKEND_API_KEY] ` with your jellyfin/emby api key.
601
+ * Replace ` [BACKEND_HOST] ` with your jellyfin/emby host. it can be a host or ip: port i.e. ` jf.mydomain.ltd ` or ` 172.23.0.11:8096 `
602
+
603
+ ```
604
+ {"OperatingSystemDisplayName":"Linux","HasPendingRestart":false,"IsShuttingDown":false,...}}
605
+ ```
606
+
607
+ If everything is working correctly you should see something like this previous json output.
608
+
0 commit comments