npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

tizen-enplug-player

v0.24.8

Published

A Samsung Tizen TV wrapper application for the Enplug digital signage player. This project provides Tizen-specific service implementations that integrate with the `@enplug/core-player` npm package.

Readme

Tizen Enplug Player

A Samsung Tizen TV wrapper application for the Enplug digital signage player. This project provides Tizen-specific service implementations that integrate with the @enplug/core-player npm package.

Prerequisites

  • Node.js 20
  • Tizen Studio with CLI tools
  • Samsung TV/Signage device connected to network

Quick Start

# Install dependencies
npm install

# Connect to device (default IP: 192.168.50.200)
npm run connect-device

# Build, deploy and debug
npm run debug-dev

Development Commands

Essential Commands

# Development workflow (most common)
npm run debug-dev                    # Clean + build + deploy + debug with port forwarding

# Production deployment
npm run debug-prod                   # Clean + build production + deploy + debug

# Build only
npm run build-dev                    # Development build
npm run build                        # Production build

# Clean build artifacts
npm run clean                        # Always run this first when having build issues

Device Connection (CLI - No Device Manager needed)

# Connect to default device (192.168.50.200)
npm run connect-device

# Connect to specific IP
npm run connect-device --ip=192.168.1.100

# List connected devices
npm run list-devices

# Disconnect all devices
npm run disconnect-device

# Manual connection
sdb connect 192.168.50.200:26101
sdb devices

Debug Commands

# Debug with automatic port forwarding to localhost:9222
npm run debug-with-port

# Basic debug (no port forwarding)
npm run debug

# Run in Tizen simulator
npm run simulator

Deployment Commands

# Deploy production without debug (creates release/x-x-x/ with .wgt and sssp_config.xml)
npm run deploy

# Deploy development without debug (creates release-dev/x-x-x/ with .wgt and sssp_config.xml)
npm run deploy-dev

# Individual steps
npm run build-web                    # Build Tizen web package
npm run package                      # Create .wgt file
npm run tzinstall                    # Install on device

Release Signing and Distribution

⚠️ Important: The .wgt files generated in release/ and release-dev/ directories are signed with development certificates and are only valid for emulator testing.

For production deployment to Samsung TVs, follow these steps:

  1. Generate release files: Run npm run deploy or npm run deploy-dev

  2. Re-sign for production:

    • Go to Samsung B2B Package Tool
    • Upload the generated .wgt file from your release directory
    • Download the production-signed package
  3. Replace in release directory:

    • Replace the original .wgt file in release/x-x-x/ or release-dev/x-x-x/ with the production-signed version
    • Keep the same filename and directory structure
  4. Version and distribute:

    • Commit the signed release to GitHub
    • Tag the release with the version number
    • Upload to distribution platforms

Utility Commands

# Watch mode (rebuild on changes)
npm run build-w

# Full development build and simulator
npm run start

Recommended Workflows

Active Development

# 1. Connect device
npm run connect-device

# 2. Build, deploy and debug
npm run debug-dev

# 3. After code changes
npm run clean && npm run debug-dev

Production Testing

# Build and test production version
npm run debug-prod

# Deploy production without debug
npm run deploy

Chrome DevTools Access

After running debug commands:

  • Chrome DevTools: chrome://inspect
  • Direct access: localhost:9222
  • Device access: http://192.168.50.200:<port> (port shown in console)

Troubleshooting

Build Issues

# Clean and rebuild
npm run clean
npm run debug-dev

# Check Tizen tools
tizen version
sdb devices

Connection Issues

# Check device connection
sdb devices
sdb get-state

# Reconnect device
npm run disconnect-device
npm run connect-device --ip=<DEVICE_IP>

Debug Issues

# Check port forwarding
sdb forward --list

# Clean and restart debug
sdb forward --remove-all
npm run debug-with-port

Installation

Development Tools Setup

  1. Install VS Code

    • https://code.visualstudio.com/download
  2. Install Tizen Studio

    • https://docs.tizen.org/application/tizen-studio/setup/install-sdk
  3. Install Tizen Web CLI

    • https://webostv.developer.lge.com/develop/tools/webos-studio-installation
  4. Create Certificates

    • https://docs.tizen.org/application/dotnet/get-started/certificates/installing-the-extension
    • https://docs.tizen.org/application/dotnet/get-started/certificates/creating-certificates
  5. Install Dependencies

    npm install

Project Structure

  • src/ - Tizen-specific service implementations
  • core-player-web/ - Core player (from npm link)
  • .buildResult/ - Build output directory
  • scripts/ - Custom build and debug scripts
  • release/ - Production releases (ignored by git)
  • release-dev/ - Development releases (ignored by git)

Target Device

  • Default device: SBB-SS08NT2
  • Default IP: 192.168.50.200
  • Target platform: Samsung Tizen TV/Signage

URLs

  • Production: https://downloads.spectrio.com/tizen

Configuration

The project is configured for 2-space indentation with:

  • Prettier
  • ESLint
  • EditorConfig
  • VS Code settings