How syedss23/sm-tv- works
SM-TV Urdu is a browser-based catalog and video-access site for series, episodes, and movies. The main viewer journey is to browse or search the catalog, open a series and select an episode, pass through the optional two-page ad-and-timer gate, then view the episode page with player and download options. Separate catalog data supports schedules and recommendations; premium pages and new-episode push notifications are additional product branches. The excerpts show the catalog, series, episode, gate, and notification calls; unsampled page relationships are omitted where their wiring is not shown.
Main entry points: index.js Home catalog · episode.js Episode player · series.js Series seasons · episodeNotifier.js Episode notifier
Components 19
Catalog and discovery
- Home catalog
index.js - Series catalog
series.html - Movie catalog
movies.html
Viewing and access
- Series seasons
series.js - Episode player
episode.js - Link gate one
getlink.js - Link gate two
getlink2.js - Feature config
config.json - Premium pages
premium.html
Content data
- Series records
series.json - Movie records
movies.json - Episode index
episode-data/index.json - Episode records
episode-data - Release schedule
shedule.json - Recommendations
recommended.json
Notifications and integrations
- Episode notifier
js/episodeNotifier.js - Notification endpoint
api/notify.js - OneSignal
Other components
- Viewer
Connections 22
- Viewer → Home catalog: opens
index.js - Home catalog → Series records: fetches
index.js - Home catalog → Movie records: fetches
index.js - Home catalog → Episode index: fetches
index.js - Home catalog → Release schedule: fetches
index.js - Home catalog → Recommendations: fetches
index.js - Home catalog → Series seasons: routes to
- Series catalog → Series seasons: routes to
- Movie catalog → Episode player: routes to
- Series seasons → Feature config: loads
series.js - Series seasons → Episode records: loads
series.js - Series seasons → Episode player: opens
series.js - Episode player → Series records: loads
episode.js - Episode player → Movie records: loads
episode.js - Episode player → Episode records: loads
episode.js - Link gate one → Link gate two: continues to
getlink.js - Link gate two → Episode player: unlocks
getlink2.js - Episode player → Premium pages: links to
episode.js - Episode notifier → Episode index: reads
js/episodeNotifier.js - Episode notifier → Episode records: checks
js/episodeNotifier.js - Episode notifier → Notification endpoint: posts to
js/episodeNotifier.js - Notification endpoint → OneSignal: sends to
api/notify.js