Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jmrunge/image support #198

Closed
wants to merge 16 commits into from
Closed

Jmrunge/image support #198

wants to merge 16 commits into from

Conversation

jmrunge
Copy link
Member

@jmrunge jmrunge commented Jan 2, 2014

Added support for scrapping images.
Depends on inaes-tic/mbc-common#42
Needs inaes-tic/mbc-mosto#144 to work with mosto

Signed-off-by: Juan Martin Runge <[email protected]>
getSeconds: function(type) {
return _.findWhere(this.types, {type: type}).seconds;
}
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in the future we can use something like node-mime
https://github.com/broofa/node-mime

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its nice, but I dont know if all the image or video types identified by node-mime are supported by ffmpeg. And as for using our custom types file, I think perhaps is better to use then our own "mime" handling. Sure it should be moved to common in the very near future so mosto and caspa use the same code.

@pardo-bsso
Copy link
Member

I'm mostly okay with this.
Some minor things that I can take care of after merging:

  • The modal does not show the current assigned time.
  • In models/Media.js toMilliseconds() we expect the time to be like HH:MM:SS.ss and it breaks when otherwise. We need to sanitize it here.
  • After changing the time I do not see it reflected on the playlist duration.

@jmrunge
Copy link
Member Author

jmrunge commented Jan 10, 2014

2014/1/10 Adrián Pardini [email protected]

I'm mostly okay with this.
Some minor things that I can take care of after merging:

If you can solve them before merging it would be great! I'll be online
back in about 2 hours. Ping you then. Thanks!

  • The modal does not show the current assigned time.

Ups! My bad! Didnt thought about it.

  • In models/Media.js toMilliseconds() we expect the time to be like
    HH:MM:SS.ss and it breaks when otherwise. We need to sanitize it here.

Should be normalized when setting it to the piece in the "ok" function
callback.

  • After changing the time I do not see it reflected on the playlist
    duration.

Saw it just a few minutes ago. Couldnt find quick where to fix it...


Reply to this email directly or view it on GitHubhttps://github.com//pull/198#issuecomment-32041898
.

@pardo-bsso
Copy link
Member

2014/1/10 Adrián Pardini [email protected]
I'm mostly okay with this. Some minor things that I can take care of after merging:

If you can solve them before merging it would be great! I'll be online back in about 2 hours. Ping you then. Thanks!

While I think most of them won't take longer some things I'm doing affect all the views. I'd rather merge this and then focus on that.

  • The modal does not show the current assigned time.

Ups! My bad! Didnt thought about it.

no biggie.

  • In models/Media.js toMilliseconds() we expect the time to be like HH:MM:SS.ss and it breaks when otherwise. We need to sanitize it here.

Should be normalized when setting it to the piece in the "ok" function callback.

Here whatever I put on the input ends up on the duration field. (It accepts for example aa:bb:ccdsafjsadlfkjdsalfkj)

  • After changing the time I do not see it reflected on the playlist duration.

Saw it just a few minutes ago. Couldnt find quick where to fix it...

Neither I.

Signed-off-by: Juan Martin Runge <[email protected]>
Signed-off-by: Juan Martin Runge <[email protected]>
@jmrunge
Copy link
Member Author

jmrunge commented Jan 13, 2014

2014/1/10 Adrián Pardini [email protected]

2014/1/10 Adrián Pardini [email protected]
I'm mostly okay with this. Some minor things that I can take care of after
merging:

If you can solve them before merging it would be great! I'll be online
back in about 2 hours. Ping you then. Thanks!

While I think most of them won't take longer some things I'm doing affect
all the views. I'd rather merge this and then focus on that.

  • The modal does not show the current assigned time.

Ups! My bad! Didnt thought about it.

no biggie.

Done!

  • In models/Media.js toMilliseconds() we expect the time to be like
    HH:MM:SS.ss and it breaks when otherwise. We need to sanitize it here.

    Should be normalized when setting it to the piece in the "ok" function
    callback.

Here whatever I put on the input ends up on the duration field. (It
accepts for example aa:bb:ccdsafjsadlfkjdsalfkj)

Done!

  • After changing the time I do not see it reflected on the playlist
    duration.

    Saw it just a few minutes ago. Couldnt find quick where to fix it...

Neither I.

Done!


Reply to this email directly or view it on GitHubhttps://github.com//pull/198#issuecomment-32047035
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants