← Back to all articles
Blog

2021-6-28: distribution upgraded to routes with full permissions and switching; categories for audio, articles and galleries; BUG fixes

This update mainly upgrades distribution into delivery routes. Design alone took about three days, but the result is good. The built-in CMS now supports route switching and full permission controls. A second major feature adds categories to every content module, addressing the missing aggregation mechanism for articles, galleries/comics and audio programs in the original cms. Other details were refined and BUG issues fixed.

Update overview

Improved preview-video generation for portrait videos: output uses the configured width with adaptive height.

If no video stream can be found during transcoding, processing is skipped with an explanation.

Improved batch outro trimming by skipping problematic videos to prevent transcoding errors.

Improved the download center for unusual video URLs whose names caused download failures.

Added a category field to /api/postmovie, allowing collected actors, tags, categories and other metadata to be imported through the api for administration transcoding.

Added a category field to /api/downloadm3u8, automatically categorizing downloads imported through the api.

Fixed occasional abnormalities in the previously released preview and pre-roll/mid-roll features.

Added audio categories, an administration category center for audio programs, and category aggregation in the built-in cms.

Added article categories, an administration article-category center, and category aggregation in the built-in cms.

Added gallery categories, a separate administration gallery-category center, and category aggregation in the built-in cms.

Added third-party domains for all built-in CMS images. Synchronize posters to another server or cloud storage, then use one setting to change every built-in CMS image URL to a third-party CDN domain.

Distribution is upgraded to routes with complete permission controls. For example, route one permits all viewers, route two only registered viewers, and a VIP route only designated VIP groups. The built-in CMS supports switching routes with complete ordinary-group and VIP group permission controls.

Added route api endpoints so third-party applications can use different-route m3u8 playlists through the api and implement route switching as needed.

Screenshots

Enabled status, default-route setting, route URL, name and complete permission controls are all available:

The built-in CMS switches routes and checks user permissions, showing corresponding messages:

Configure categories for every content type in administration; the built-in CMS directly supports category aggregation: