Giter Club home page Giter Club logo

webguy's People

Watchers

 avatar  avatar

webguy's Issues

Refactor webserver in order for clear url maping

My webserver has some history. At first it started as WSGI module for lighttpd and ended up as standalone tornado based web server. Request handler was located in wsgi specific functions and after moving to tornado it was easier to make sort of adapter to comply it. Simple code looks cumbersome and awkward. To add new url handler I have to add additional clause in hufe if-elsei-f tree.
In this issue I want create class that able to register url callback so adding new handler should be as easy as:
urlHandler.register("/srv/new/url/", handler) where handler is lanbda or named function or functional object that takes two input parameter: url value and dictionary of request headers.

Server hangs when connection to dirble takes long

Once dirble server was out of service. It led to webserver hang when I tried to obtain radiostations list.
I see several workarounds of this problem:

  • Use HTTPConnection with some reasonable timeout parameter (5 seconds for instance) . This will cause some hang but I wont need to restart webguy server via ssh
  • Setup Tornado to work in async requests. This require a lot of additional coding but server would be way more responsive.

longest common substring search for mediafile list

File name, especially TV show episodes list contains a lot of similar names, etc tvshow_e1s01, tvshow_e1s02 and so on. This detiorates an overal look of listview and generate messy output.

I want this list

someteamreap_tvshow_e1s01.avi, someteamreap_tvshow_e1s02.avi

look like:

e1s01.avi, e1s02.avi

Move TV mediaplayer from laptop to Raspberri PI

Current my webserver resides on my laptop. Well this is definately better than PC but has a lot of downsides:

  • I have to put out from hibernate every time I want to watch movie. And set it to sleep after I finished watching.
  • It consumes 20 watts while charging and 10 watts on full charge. Sure this is less than PC but still a lot (Start think of it after receiving eletricity bill , heh). And this repeatedly charge / discharge cycles could reduce battery lifetime.
  • Last but no least: I cannot use my laptop while watching movies !!

I want to set up my raspberry pi for watching movie over HDMI.
So i have:

  • Find suitable movie player that supports hardware video decoding.
  • Programmaticaly turn on and off HDMI port.
  • Use samba fileshare service to browse files over ethernet.

Add ability to fast jumping over movie timespan

Currently searching for location I've been interrupted from is matter of crazy clicking forward button. This make my finger hurt.
I want have convenient way to do this. With slider f.e. Or it could be more forward buttons (represinting timespan range, from short one up to most long).

Add click-to-download for rutracker, pornolab and lostfilm

Click-to-download is both firefox plugin and webserver module that parse and add to rtorrent file from specific torrent tracker.
Currently I have it working for tracker.0day.kiev.ua. In this issue I want it for rutracker, pornolab and lostfilm. So I have to implement both firefox plugin and webserver module to complete this issue

Radio related request return empty list after waiting a while.

Dirble module keeps connection alive to reuse it for later requests. As it epected it not their webserver would like so they periodivaly closing that connection, especially after some idleness. In that case python exception occures. In catch section exception are intercepted and connection reopen. To prevent endless retrying if something goes wrong, it return empty responce.
I want this module to establish new connection w/o empty responces and strong against unpredictable situations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.