Jump to content

Search the Community

Showing results for tags 'script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 20 results

  1. For anyone like me who started off creating their library of media and and deciding at a later date that maybe they want to move the those movies into their own folders, but don't want to manually create thousands of folders, and then manually move the files, you can automate that process with PowerShell (on WIndows). Open up a PowerShell prompt and navigate to the directory with your movies being stored, in my case on a network share. cd \\unraid\media\movies Make sure this command will create a folder for every file in the directory you just navigated to. WARNING, I was lazy
  2. A Powershell script intended to be invoked by ScripterX to log media add events on Social Media. Aggregates related media events into single posts (eg episodes rolled up to seasons, seasons to series, multiple episodes to a single post, multiple seasons to a single post) Posts JSON to a web hook Options to alter the aggregation behaviour to personal preference. Was originally designed for Integromat Web Hook. (free for 1000 per month) Has been used with a Facebook group and Android Push Notifications. Could be developed to make the message structure a bit more versatile for other services
  3. adam.niescierowicz

    Manual Multi-version group script

    Hi, I would like to group my movies with different multi-version quality unfortunately functionality doesn't work with multidirectory library. I know manual method: multi-select content and next "group versions". The most convenient method for me is to use a script for this. I can write a script, but I need a description of the structure of the database, which unfortunately I can't see anywhere. Can somebody explain me relation of sql data in sqlite db for multiversion video? Maybe there is some documentation describing the sql structure?
  4. Original source Unix.stackexchange.com Thx to Adrian for this amazing script Since Emby doesnt have a proper scraper this will help to "fix" that Files to be renamed are all of the form [<tag>] <name> - <serial> [<quality>].mkv. Each anime has a lookup file called <name>.lst, listing the episodes in serial order, e.g. One Piece.lst contains: S01E01 S01E02 ... S01E08 S02E01 ... You use a bash shell at version 4 (minimum). #!/bin/bash # USAGE: canon_vids <dir> ... # Canonicalize the filenames of all MKV vids in each <dir> # All the ani
  5. This project is being abandoned in favor of Wolveix's. https://github.com/Wolveix/Plexus Please visit his project to see any future work. Hello, I’m working on a little project to iterate through my NAS and convert all files that are not easily direct played through my Roku. I’m posting it’s Github page here, in case it is of use to anyone else. I’m very open to input, commits, suggestions, etc. I’d love for this to be useful to the community. https://github.com/gorgarp/BatchConverter/
  6. Hi Emby users. so I read in a post somewhere (suggestion I belive) that they wish they could scroll through a list of their movies ordered randomly so that they could "discover" movies easier. So I wrote a script that hijacks the recently added feed on the home screen to essentially use it as a dicoverability feed that will change the movies in this feed once a day (if you set it up on a scheduler that is). by default when run it will put the 3 most recently released movies in the front of the "recently added" feed followed by an old but gold movie, a hidden gem and a completely random mo
  7. mataus

    Advanced Tomato router

    Hi all, I have a router running latest Advanced tomato firmware and PIA VPN running on it. I would like to run a script to enable Port Forwarding to the Port PIA provides me so I can access the Emby server remotely. However after searching the internet I am still no clearer on how to achieve this. Any help would be very much appreciated. Thanks
  8. Hello, Is there a way to run a custom script when using emby theater / cinema mode? In short, I would like the script to dim my lights (run an Insteon scene) when using emby theater and when the main feature beings. Ideally the script would allow the "previews" to first play, then the "custom intro", then the script executes as the main feature starts. 1) Cinema Mode Trailers (x2) <-- do nothing; wait 2) Custom Intro trailer (x1) <-- do nothing; wait 3) Main Feature <-- execute script Ideally emby would also be able to pass some environmental information (i.e. connecte
  9. I wanted to populate my library with a local trailer for each film. I was also interested in learning a bit of Python. So this resulted in the script below, if you want to run it you'll need to install Requests and PyTube (can be done using PIP): import sys import requests import urllib import json import ConfigParser import glob import os from pytube import YouTube config = ConfigParser.RawConfigParser() config.read('trailers.ini') embyapi = "" embykey = "" embyusr = "" h = 0 i = 0 j = 0 k = 0 if config.has_option('emby', 'api'): embyapi = config.get('emby', 'api') else: embyerror
  10. Blueeyiz702

    Bookmarklet

    You have JavaScript. You need a bookmarklet. This does that. Options URL-encode reserved characters: [space], %, ", <, >, #, @, &, ? Wrap in an IIFE (anonymizing function). Minify using UglifyJS. Make sure a modern version (>= 1.7) of jQuery is available for your code. http://chriszarate.github.io/bookmarkleter/ Neat little program i found and thought i would share.
  11. Hi all, I've been using emby as a service for while now, and having gone through quite a few updates of the server, have always found it a bit long-winded to complete the update steps, thanks to the emby installer automatically starting the desktop app version of the server rather than the service. I've finally got round to writing a quick PowerShell script that automates it a bit more: stop the current service, download the server installer, run the installer, kill the emby app and finally start the service again. I've posted it here in case anyone's got a similar workflow to me for u
  12. Guest

    Real Time Monitoring BASH Script

    I've modified a bash file monitoring script that I found here to update the library when a file changes in the given directory. So the script sends a curl request to update the Emby library when detects a change in any file inside the given path, it also works with files inside sub-directories. Thanks also to this post for the curl request. You just have to change de path and add your Emby API key to the curl link. The script runs every minute but this can be changed in the end where the sleep command is. To run it in the background you just have to execute the command: nohup /root/watch
  13. ytzelf

    Double emby process

    Hello everyone, I seem to have 2 emby processes running, one is running as root (dont want) with the correct MONO_THREADS_PER_CPU and MONO_GC_PARAMS arguments, and one running as emby user (all good) without these arguments. ps auxZ | grep emby root 784 0.0 0.0 46360 3224 ? Ss 12:59 0:00 su -s /bin/sh -c exec "$0" "$@" emby -- env MONO_THREADS_PER_CPU=250 MONO_GC_PARAMS=nursery-size=128m /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -resta
  14. Hii all Because the update process for the emby server (while it's running as a service) can be a bit annoying, so i made an application with a python script. It works no matter where it's located. You just have to unzip the *.zip file in the attachement. After that, in the unzipped folder run the "emby_update_v2.exe" as administrator. The application can be used with diffrent commandline arguments: /beta - Start normal with updating beta server, while its running as a service /dev - Start normal with updating dev server, while its running as a service
  15. I'm wondering if anybody has made their own simple script to go through (recursively) sub-directories and remove x in filnames with y. I've looked online (python) and found some pretty long winded solutions, but I feel like this could be done simply in a nested for loop with only 1 or 2 modules. for filename in dir: if filename contains ['list', 'of', 'items', 'easily', 'enumerated'] newname = filename.replace(x,y) os.rename(filename,newname) That is non recursive, but has been working for regular txt files for me, but not folders. Any suggestions?
  16. ilikerolls

    New Emby init.d script Not Working?

    Has anyone tried the init.d script on Ubuntu 14.04 yet? I don't think I have ever gotten one of these init.d scripts to work without modifications, but this new one changed a lot. And from the command prompt I just get and of course PID 3783 will not exist afterwords sudo emby-server start emby-server start/running, process 3783​ This is all I get in the syslog Aug 13 13:03:13 CRACKHEADGDK /proc/self/fd/9: DEBUG: EMBYSERVER='/usr/lib/emby-server/emby-server'#012EMBY_BIN='/usr/lib/emby-server/MediaBrowser.Server.Mono.exe'#012EMBY_DATA='/var/lib/emby-server'#012EMBY_PATH='/us
  17. Hi guys, I'm looking for a way to run a script after subtitles are downloaded. Should I modify the sources, or do I have a better user-friendly solution for that? Thanks
  18. Hey there so I decided I would get Media Browser not too long ago and so far it has been great when I can get WMC to work. The problem I am having right now seems simple to fix but so far it has resulted in me wasting over 3 or 4 hours to try and get the server to start on PC startup w/o logging in. Apparently this is difficult to accomplish and I really cannot understand why. I have disabled the startup on the dashboard and I don't have any startup tasks in task scheduler for the application or service turned on so I am stumped. Currently I have the service set to Automatic and I als
  19. https://dl.dropboxusercontent.com/u/84611964/OrderBackdrops.cmd Requires mediainfo and imagemagick command line utilities Background I wanted to keep my backdrops clean of mixed resolution, non contiguous naming, and duplicate images, The script uses imagemagick to yield a comparison value to identify duplicates. Install Download mediainfo and imagemagick clis, Extract to folders of choice Download CMD file above and copy to shell:sendto edit CMD with paths to mediainfo and imagemagick and turn on/off log only Functions For each folder in path, re cursing subfolders) If
  20. Script to remove header compression and subtitles from selected MKV(s). Useful for XBOX playback in MBC/WMC Description For windows OSes with batch support Script remuxes selected file(s) into a temporary holder (.mux), deletes (default) or renames the original (.old). and renames the temporary as original so you are left with the same file(name)(s) but without compression and subs. script relies on MKVMERGE being in 'PATH' (otherwise you could hardcode the path to MKVMERGE) https://www.bunkus.org/videotools/mkvtoolnix/downloads.html Use rename (original) rather than delete in scrip
×
×
  • Create New...