Watched - YAMJ/yamj-v2 GitHub Wiki

How to use the Watched property in skins.

Introduction

This page will describe how to use the new Watched feature in YAMJ with skins properly.

Please note This is only works on the 200 Series (A200/A210/C200) Popcorn Hours machines at this time. We are working on getting this working on the 100 Series (A100/A110).

Details

First, the property used to control watched is inside the skin.properties file. Skin authors will need to add additional code to their skin to make it work, but users only need to worry about the skin.properties file.

The name of the property is: mjb.watchedLocation=

There are three possible entries a user can pick from for this property.

1. "withJukebox"; this will cause YAMJ to keep all watched files inside the folder called 'watched' in your jukebox.

  • example of use (no quotes): mjb.watchedLocation=withJukebox

2. "withVideo"; this will cause YAMJ to keep all watched files next to the specific video file.

  • example of use (no quotes): mjb.watchedLocation=withVideo

3. The last option is a custom one; this will instruct YAMJ to keep the watched files where ever you tell it to. The path MUST be in absolute form. Just like your NMT path is for YAMJ. However, it only needs to be the part starting with NETWORK_SHARE, or SATA_DISK, or USB_DRIVE, etc etc. You do not need any of the part listed before it. Also, it MUST end with a /

  • example of use (no quotes): **mjb.watchedLocation=NETWORK_SHARE/media/Jukeboxes/Watched/ **

  • example of use (no quotes): mjb.watchedLocation=SATA_DISK/Jukeboxes/Watched/

  • example of use (no quotes): **mjb.watchedLocation=USB_DRIVE/Jukeboxes/Watched/ **

To Use the Watched Feature once on the details page, simply press the Red button on your remote. It will toggle between watched/unwatched.

Setting A Video as Watched

There are numerous methods that can be used to mark a video as watched.

Manually

You can create an empty file named the same as the video with ".watched" at the end of the filename.

Example

Blade Runner (1982).AC3.720p.mkv
Blade Runner (1982).AC3.720p.mkv.watched

Semi-Manual

Using a program such as Watched Creator to automatically create the files for you. (Windows only)

http://mediaplayersite.com/WatchedCreator

Automatically

There are several programs that can monitor your progress on the PCH and automatically create the watched file for you. These include:

**[PCHTrakt](http://www.networkedmediatank.com/showthread.php?tid=58356)** Runs natively on the PCH
**[Watched File Creator](http://www.networkedmediatank.com/showthread.php?tid=59907)** Windows only automatic watched creator
⚠️ **GitHub.com Fallback** ⚠️