robmcmullen / dinoteeth Goto Github PK
View Code? Open in Web Editor NEWSimple python based media launcher with multiple frontend GUI support
Simple python based media launcher with multiple frontend GUI support
Sometimes the imdb_id is guessed incorrectly, so there needs to be some method of selecting the correct id. Ideally, a way to select by displaying a list of possible choices where selecting a choice displays a poster and the imdb textual metadata.
Slideshow viewer is slow to respond to navigate commands, and while there is a multi-second delay before flipping to the next image, might as well use that time to pregenerate the next images.
I imagine a queue of created images can be added to a list in the main thread, perhaps buffered to a max number so as not to use too much memory.
An AVI seems to have one audio track, but mplayer -identify reports aid 1:
mplayer -identify -aid 0 /remote/media3/series/TopGear-s12-e08-Vietnam-Special.avi
MPlayer SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /remote/media3/series/TopGear-s12-e08-Vietnam-Special.avi.
Cache fill: 0.00% (0 bytes)
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
AVI: invalid audio stream ID: 0 - ignoring (nosound)
Dinoteeth is starting it with aid 0, causing a a/v sync problem:
Playing: /remote/media3/series/TopGear-s12-e08-Vietnam-Special.avi ['-novm', '-fs', '-utf8', '-ass', '-ass-color', 'ffffff00', '-ass-font-scale', '1.4', '-aid', '0', '-sid', '0']
audio track:
| length: 3728
| codec: mp4a
| id: 2
Should have number of channels, title, stuff like that?
My dumb camera doesn't have an orientation sensor and my SO likes to take portrait pics. Map a key to a 90 degree rotation command that will update the JPEG metadata and recreate a thumbnail.
Mini series, (e.g. Band of Brothers) don't have a season, but show up as Season 0 in the menu hierarchy
There's a big delay when changing to a photo dir that doesn't have thumbnails processed for it yet.
Need to create a thread to use PIL to create thumbnails so that main thread UI can be more responsive. Thread should stop processing thumbnails from one dir when the user changes to the next dir so the UI photos can be shown quickly for the new directory.
Add worker thread that processes work items. Example: creating thumbnails of photo directories. Each work item would be a single thumbnail to generate, and the work item queue would be processed in idle time.
Found http://code.google.com/p/ffmpegthumbnailer/ that uses a somewhat smart algorithm to create thumbnails for video files; need to integrate this into the thumbnail generation thread for home videos.
It just spins if it runs out of disk space; it claims
--finished encode pass 3/3
but spins. Breaking reveals that it's waiting in the sleep for a keyword that I'm not anticipating:
Traceback (most recent call last):
File "/data2/home/rob/src/dinoteeth/bin/dvd2mkv.py", line 335, in <module>
enc.run()
File "/data2/home/rob/src/dinoteeth/bin/../dinoteeth/transcoder/encoder.py", line 192, in run
time.sleep(1)
KeyboardInterrupt
Two files:
don't seem to parse into the correct title key. The log says the title keys are:
0: missing metadata for ('The_Princess_Bride-x03-Good_Morning_America-24th-Anniversary-Reunion.webm', None, 'movie')
1: missing metadata for ('The_Insider-x02-60_Minutes_Interview-1996.flv', None, 'movie')
Similar to #5, a command to play all bonus features only, not episodes
Menu item to "play all episodes" for series would loop over episodes only (not bonus features)
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.