Giter Site home page Giter Site logo

localcast's People

Contributors

catdad avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

localcast's Issues

sometimes I get an error

When I leave the server running for a while -- often putting the computer to sleep and waking it back later -- I get an error. This seems to be new to the latest servercast feature, though I am not sure the error is related.

Error: write EOF
    at _errnoException (util.js:1024:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:870:14)
Error: read ECONNRESET
    at _errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:618:25) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' 

service crashes when sending stop command after the chromecast has already went to idle screen

D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:88
  data.mediaSessionId = this.currentSession.mediaSessionId;
                                            ^

TypeError: Cannot read property 'mediaSessionId' of null
    at fn.MediaController.sessionRequest (D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:88:45)
    at fn.MediaController.stop (D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:107:8)
    at DefaultMediaReceiver.stop (D:\Git\chromecasts\node_modules\castv2-client\lib\senders\default-media-receiver.js:42:19)
    at D:\Git\chromecasts\index.js:200:11
    at apply (D:\Git\chromecasts\node_modules\thunky\index.js:16:28)
    at D:\Git\chromecasts\node_modules\thunky\index.js:20:25
    at ready (D:\Git\chromecasts\index.js:108:11)
    at PlatformSender.join (D:\Git\chromecasts\node_modules\castv2-client\lib\senders\platform.js:88:3)
    at D:\Git\chromecasts\node_modules\castv2-client\lib\senders\platform.js:102:10
    at D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\receiver.js:53:5
server exited with code 1

figure out where this error is coming from

(node:10500) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.

Steps:

  • load list of files
  • click on file to load thumbnail
  • error is seen right after thumbnail call

This is happening in Node 8.

download ffmpeg at setup

  • write postinstall script
  • update code to use new ffmpeg
  • permanently delete committed ffmpeg to keep repo small

disable server-cast

it has not worked for a very long time... I don't think it's a useful feature for now.

crash: addMembership EHOSTUNREACH

D:\Node\cast\node_modules\node-ssdp\lib\index.js:189
          throw e
          ^

Error: addMembership EHOSTUNREACH
    at Socket.addMembership (dgram.js:581:11)
    at addMembership (D:\Node\cast\node_modules\node-ssdp\lib\index.js:182:19)
    at Socket.onSocketListening (D:\Node\cast\node_modules\node-ssdp\lib\index.js:178:5)
    at Socket.emit (events.js:187:15)
    at startListening (dgram.js:128:10)
    at state.handle.lookup (dgram.js:249:7)
    at process._tickCallback (internal/process/next_tick.js:63:19)

[create stories] add auto-play / play all feature

  • Play all videos in order from the folder.
  • Add small pause between videos
  • Show the name and thumbnail of the upcoming video
  • Make feature optional (can turn it on and off)
  • Show overlay on video with title when the mouse moves

infinite loading on video thumb overlay

When loading the UI on a remote device, the image does not appear sometimes. The loader remains infinitely. You need to press back and then open the video again to get to the play button.

reconnect to media after server restart

This kind of stuff happens if trying to pause/resume/seek after a server restart:

  data.mediaSessionId = this.currentSession.mediaSessionId;
                                            ^

TypeError: Cannot read property 'mediaSessionId' of null
    at fn.MediaController.sessionRequest (D:\Node\cast\node_modules\castv2-client\lib\controllers\media.js:88:45)
    at fn.MediaController.seek (D:\Node\cast\node_modules\castv2-client\lib\controllers\media.js:116:8)
    at DefaultMediaReceiver.seek (D:\Node\cast\node_modules\castv2-client\lib\senders\default-media-receiver.js:46:19)
    at D:\Node\cast\node_modules\chromecasts\index.js:233:11
    at apply (D:\Node\cast\node_modules\thunky\index.js:16:28)
    at D:\Node\cast\node_modules\thunky\index.js:20:25
    at ready (D:\Node\cast\node_modules\chromecasts\index.js:94:11)
    at PlatformSender.join (D:\Node\cast\node_modules\castv2-client\lib\senders\platform.js:88:3)
    at D:\Node\cast\node_modules\chromecasts\index.js:75:20
    at D:\Node\cast\node_modules\castv2-client\lib\controllers\receiver.js:86:5

It should be possible to call status when this happens to reconnect to the currently-playing session.

chromecasts threw an error

image

D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:88
  data.mediaSessionId = this.currentSession.mediaSessionId;
                                            ^

TypeError: Cannot read property 'mediaSessionId' of null
    at fn.MediaController.sessionRequest (D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:88:45)
    at fn.MediaController.stop (D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\media.js:107:8)
    at DefaultMediaReceiver.stop (D:\Git\chromecasts\node_modules\castv2-client\lib\senders\default-media-receiver.js:42:19)
    at D:\Git\chromecasts\index.js:200:11
    at apply (D:\Git\chromecasts\node_modules\thunky\index.js:16:28)
    at D:\Git\chromecasts\node_modules\thunky\index.js:20:25
    at ready (D:\Git\chromecasts\index.js:108:11)
    at PlatformSender.join (D:\Git\chromecasts\node_modules\castv2-client\lib\senders\platform.js:88:3)
    at D:\Git\chromecasts\node_modules\castv2-client\lib\senders\platform.js:102:10
    at D:\Git\chromecasts\node_modules\castv2-client\lib\controllers\receiver.js:53:5

use HTTPS

[Deprecation] Using the Presentation API on insecure origins is deprecated and will be removed in M68. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

when video is over, play next video

  • video plays in embedded mode
  • video plays in fullscreen mode
  • video title updates correctly
  • page title updates correctly
  • video does not exit fullscreen mode
  • modal closes correctly

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.