danb235 / mediatidy Goto Github PK
View Code? Open in Web Editor NEWCommand line interface to cleanup your media library
Command line interface to cleanup your media library
When issuing the clean command on OSX Sierra, this is the error I'm getting. Tried with different paths, one path, many paths, etc.
/usr/local/lib/node_modules/mediatidy/node_modules/node-dir/lib/paths.js:124
var bufdir = Buffer.from(dir);
^
TypeError: this is not a typed array.
at Function.from (native)
at Object.files (/usr/local/lib/node_modules/mediatidy/node_modules/node-dir/lib/paths.js:124:23)
at /usr/local/lib/node_modules/mediatidy/lib/media.coffee:48:17
at FSReqWrap.cb [as oncomplete] (fs.js:216:19)
I'll add details later.
$ bin/mediatidy config update
mediatidy: movie path: /Volumes/Movies
saved mediatidy configuration to /Users/mediaserver/.mediatidy/config.json
media:mediatidy mediaserver$ bin/mediatidy movies update
==> search for current files and directories
Found: 4726 video files
Found: 4213 other files
Found: 17 directories
==> updating mediatidy database with current files and directories
updating directories...
updating video files...
updating other files...
database updated
==> removing files and directories from database that no longer exist
0 out of 8939 files removed from database...
0 out of 17 directories removed from database...
finished removing missing files and directories from mediatidy database
==> update database with probed video metadata
Found: 4726 video files that need metadata update
.....................................................
............................................................................................................................................
child_process.js:947
throw errnoException(process._errno, 'spawn');
^
Error: spawn EMFILE
at errnoException (child_process.js:1000:11)
at ChildProcess.spawn (child_process.js:947:11)
at exports.spawn (child_process.js:735:9)
at doProbe (/Users/mediaserver/repos/mediatidy/node_modules/node-ffprobe/lib/ffprobe.js:84:14)
at probeFiles (/Users/mediaserver/repos/mediatidy/lib/movies.coffee:91:9)
at /Users/mediaserver/repos/mediatidy/lib/movies.coffee:143:23
at /Users/mediaserver/repos/mediatidy/node_modules/async/lib/async.js:157:25
at /Users/mediaserver/repos/mediatidy/lib/movies.coffee:135:21
at iterate (/Users/mediaserver/repos/mediatidy/node_modules/async/lib/async.js:149:13)
at /Users/mediaserver/repos/mediatidy/node_modules/async/lib/async.js:160:25
at /Users/mediaserver/repos/mediatidy/lib/movies.coffee:135:21
at iterate (/Users/mediaserver/repos/mediatidy/node_modules/async/lib/async.js:149:13)
at Object.async.eachSeries (/Users/mediaserver/repos/mediatidy/node_modules/async/lib/async.js:165:9)
at /Users/mediaserver/repos/mediatidy/lib/movies.coffee:124:25
at ReadStream.<anonymous> (/Users/mediaserver/repos/mediatidy/lib/movies.coffee:122:21)
at ReadStream.emit (events.js:95:17)
at ReadStream.<anonymous> (_stream_readable.js:748:14)
at ReadStream.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at emitReadable (_stream_readable.js:406:5)
at readableAddChunk (_stream_readable.js:168:9)
at ReadStream.Readable.push (_stream_readable.js:130:10)
at onread (fs.js:1568:12)
at Object.wrapper [as oncomplete] (fs.js:459:17)
/home/temp/mediatidy/node_modules/node-dir/lib/paths.js:124
var bufdir = Buffer.from(dir);
^
TypeError: this is not a typed array.
at Function.from (native)
at Object.files (/home/temp/mediatidy/node_modules/node-dir/lib/paths.js:124:23)
at /home/temp/mediatidy/lib/media.coffee:48:17
at FSReqWrap.cb [as oncomplete] (fs.js:212:19)
Hey, I have 15000 duplicates in my show directory after years of sonarr, rss, and filebot mishaps.
This app seems perfect for my use case. however I would like to just have this thing run through all my files, without me having to click yes every single time. I'd just like to let it do it's thing and worry about any issues after with like, sonarr. I have already changed line 189 to default 'yes' in media.coffee, so I only have to hit enter, and not type yes everytime. but I'd love to just skip the prompt all together if possible. Please let me know if this is possible, thank you.
received an error when deleting non movie files with the latest version of mediated(via npm)
mediatidy: Delete all files that are not video types?: (no) yes
/usr/local/lib/node_modules/mediatidy/lib/media.coffee:321
throw err;
^
Error: EACCES, unlink '/Volumes/Movies/.12 Years A Slave (2013).mkv.qhQUxg'
media:mediatidy mediaserver$
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
I'm using Automounter to automatically mount my NAS media directories, which is does underneath Library/Containers/...
I can successfully add the folders to mediatidy but when it runs it cannot find any files, despite there being thousands.
Mac-mini:plexcleaner username$ mediatidy clean
==> search for and add files to database...
/Users/username/Library/Containers/nz.co.pixeleyes.AutoMounter/Data/Mounts/NAS/AFP/Media/TV could not be found. Consider updating media dirs...
/Users/username/Library/Containers/nz.co.pixeleyes.AutoMounter/Data/Mounts/NAS/AFP/Media/Movies could not be found. Consider updating media dirs...
==> removing files from database that no longer exist
No files were found for mediatidy to tidy up! Check your media paths with "mediatidy add-paths"
mediatidy add-paths /Volumes/Library/Film/
events.js:160
throw er; // Unhandled 'error' event
^
Error: SQLITE_CANTOPEN: unable to open database file
at Error (native)
Run mediatidy in the past with only one folder path /Volumes/Movies. Today, run the command to add a path and got the following
media:mediatidy mediaserver$ mediatidy paths add
==> update paths to media files for mediatidy to tidy up!
==> remove all media paths from mediatidy
CURRENT PATH: /Volumes/Movies
mediatidy: Add another media path to mediatidy?: (no) CURRENT PATH: /Volumes/Movies
mediatidy: Delete all paths from mediatidy?: (no)
Notice that the answer to "Add another media path to mediatidy" is answered with the folder path that's currently configured.
Also the questions are reversed - as in wouldn't it make sense to ask to delete all paths before asking to add new folder paths? (Would you like me to open a different issue for this)
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.