Usage ‐ SLM ‐ Feed and Auto‐Mapping - babsonnexus/stream-link-manager-for-channels GitHub Wiki
Similar to manually checking New & Updated, there is a way to automatically get a running "feed" of recently added and modified programs on your providers using Feed & Auto-Mapping.
In order to use this functionality, the user must enable it under Settings & Options.
Once done, the menu shown above will appear. Expanding Show/Hide will reveal two areas, as discussed below.
Feed Rules
The first area under Show/Hide is called Rules:
Here, you can set up what items you want your feed to check. The selections are very much the same as New & Updated with a few caveats.
-
Users can control whether the feed rule is active or not, disabling it any time.
-
A name/description can be added for ease of understanding what it is doing.
-
The date range is a drop-down selection going from just today and until today plus the prior six days.
-
The
Minimum Video LengthandMax Videoscan be overwritten from the default setting.
As an example, let's say we have three Feed Rules:
-
On all Movie & TV Show Providers, get today and the prior two days. This is because JustWatch sometimes adds programs post-dated, especially on certain providers. As such, this user wants to make sure they always get the late additions.
-
For most YouTube subscribed Channels, get posted videos that are longer than the default
Minimum Video Length. This prevents some lower quality content that should be a "Short" from appearing. -
Some YouTube providers post videos that are in that length, but are actually worthwhile. These ones have their own rule where the
Minimum Video Lengthis overwritten with zero in order to make sure all their videos appear.
Thus the feed will consist of built-in functionality mixed with user controlled Provider Groups, differentiating between what is expected for Movies & TV Shows versus Videos.
Feed Maps
The second area under Show/Hide is called Maps:
These maps are meant to be used as automatic bookmarking/hiding options based upon the entered criteria, much as a user would normally do themselves through regular basic selections. As with the Rules above, there is an Active switch and name/description box to fill in. After that, though, it becomes an IF/THEN situation.
NOTE: Feed Maps are completely optional and do not need to be created if not desired
-
IF 'Source(s)' is/are: This is very similar to "Provider" except that it excludes individual streaming services and user-defined groups. However, it is possible to select a specific Video Channel.
-
AND field is: This is a selection of the fields you would see in normal search results. The various types (Movies & TV Shows versus Videos) have different uses for these fields and thus change what you might be looking for. For instance
Core Infocontains the numericRelease Yearof a Movie or TV Show, while a Video has the Video Channel name. This is very important inTHIS valuebelow for making logical inputs. -
THEN check IF field: These are comparative validations. Here, you are going to compare the value of the field in the prior items against the entered value in the next item. Again, these must be logical. If you select "Greater than...", then the field value and test value must be numbers. Should you enter something illogical, it will either be rejected or ignored, depending upon the situation. Also of note, comparison options also allow for simple and complex text searches through "Contains..." statements, as well as REGEX patterns.
-
THIS value: The value to compare against.
As an example, let's say we set this to look at a specific Video Channel and test if the "Other Info" [which is "Video Duration (Seconds)" for a video] is greater than or equal to 7200. Since 7200 seconds is two hours, this indicates for this particular video channel that it was a live stream. As such, the map will then need an action to take. Those actions consists of:
-
IF TRUE, THEN set 'Status' to: This is the watched/unwatched status for that specific matching item. It can be set to either, although hiding a video will make it "watched" no matter what.
-
AND set 'Movie / TV Show Label(s)' to: If it is a Movie or TV Show, labels can be assigned automatically. If this is set on for a Video that matches the criteria, it will be ignored.
-
AND do this 'Bookmark Action': Here is the crux of the actions. If it is a Movie or TV Show, the items can be bookmarked, have metadata imported, and/or have Stream Link(s) generated. Similarly, a Video can be added to an existing Video Group and also potentially have its Stream File generated. It should be noted that new Video Groups cannot be created through this method. Still, with any source, the option to "Hide" remains available, which can be a powerful way to not need to bother with many programs.
Again, should an illogical combination be put in, it will be ignored. For instance, a Movie cannot be added to a Video Group.
Continuing the example from above: The user did not want the long live streams as opposed to the regular videos, so the "Hide" selection was made. Therefore, every time the feed is updated and the rule runs, videos longer than two hours from that Video Channel will be automatically hidden without any further action from the user.
Adding and Modifying
For both Feed Rules and Maps there are blank rows where the user can enter their criteria. In order to have the Rule/Map added to the list, they must choose "Add" under Select Action. Failure to do so will just lose what they entered.
This is also similar for existing Rules and Maps. There are choices under Select Action for things like "Save" and "Delete". In order to make sure changes are captured, one of the available actions must be selected.
Whether doing an addition, a modification, a removal, or a combination thereof, afterwards the Execute Actions button should be pushed to do what the user has input to happen.
Again, without selecting an action, nothing will happen on that line.
Viewing Results and Automation
In order to see the results of Feed Rules and run Feed Maps, there are several options. The first is to just click the button Refresh Feed.
Doing so will kick off the process and then display the results of the feed. However, you can also have this happen on a schedule in the background using MTM Automation.
In this example, the feed is updated on an hourly basis at four past the hour. However, if another SLM process (such as End-to-End or New & Recent Releases) is underway, then it will not run and there will be a note in the logs. Otherwise, although it is not required, you can check the logs to see the actions of the process. Doing so will reveal something like this (if using Maps):
2025-12-09 16:05:01.520683: INFO: Bookmarked 'Using Forbidden Movesets On Pokemon Showdown (Channel: temp6t) | VIDEO' using Feed Map 'Hide - temp6y Live Streams'.
2025-12-09 16:05:02.013492: INFO: After selections/imports, 0 item(s) bookmarked, 1 item(s) hidden, and 0 item(s) skipped due to already being previously bookmarked.
So long as it is able to, the process will continue to add items to the feed. As such, instead of manually kicking it off and waiting for the results, you can just click View Feed.
This will result in whatever has been catalogued in the feed being made available in the same menu as with any of the other search methods.
As an added benefit, it does not matter how long you go between reviewing the feed; the items will remain on there indefinitely until you either bookmark or hide them. This includes doing these actions through any other search method.