Giter Site home page Giter Site logo

Comments (16)

Ede123 avatar Ede123 commented on August 28, 2024 4

Here's a rough mockup of what I had in mind:
mockup

from opensubtitles-uploader.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 28, 2024 1

What I was thinking about was to add arguments for loading/uploading one subtitle, so instead of drag&drop like it works now, you could for example pass --video and --subtitle to load the files or upload the subtitle automatically. You could then write a simple script to upload multiple subtitles. Not a perfect solution but better then rewriting most of the code.

from opensubtitles-uploader.

vankasteelj avatar vankasteelj commented on August 28, 2024

batch processing adds a lot of complexity. PR welcomed, though

from opensubtitles-uploader.

Ede123 avatar Ede123 commented on August 28, 2024

Would be immensely useful...

Uploading a single subtitle works with most programs, but batch uploading for TV series is where it becomes really tedious and a dedicated subtitle uploader could show its true potential.

Sadly there doesn't seems to be anything (working) out there right now.

from opensubtitles-uploader.

2ge avatar 2ge commented on August 28, 2024

if you want to see how batch upload is done, you might try www.flixtools.com (OSX now only)

from opensubtitles-uploader.

vankasteelj avatar vankasteelj commented on August 28, 2024

What would be the process like, in your mind?

from opensubtitles-uploader.

Ede123 avatar Ede123 commented on August 28, 2024

I'd suggest a tabular approach:

  • Interaction with the dialog works like now (e.g. you can drag/drop files into the dialog and it automatically fills in information and searches matching files where possible.
  • Instead of having a big section "Video file" and "Subtitle file" those would go in columns though, i.e. one row per movie.
  • The most important fields should be editable directly in the list (maybe make columns configurable?), extended information could be available via a "details" button that could spawn a dialog equivalent to what we have now.
  • One should be able to modify whole columns (e.g. set "Hearing impaired" flag for all files at once. This could be done by controls in the header for example. Alternatively controls could be added in the footer of the table or the table could be designed that changes are applied to all selected items.

from opensubtitles-uploader.

MoshiMoshi0 avatar MoshiMoshi0 commented on August 28, 2024

Maybe easier alternative to this would be just CLI arguments?
That way we could batch upload easily. Dont know if you can even do that as I dont write HTML5/js stuff.

from opensubtitles-uploader.

vankasteelj avatar vankasteelj commented on August 28, 2024

the code logic behind it would be the same, it's just a GUI over it, no big deal. The hard part is the coding.

from opensubtitles-uploader.

fabiorzfreitas avatar fabiorzfreitas commented on August 28, 2024

Another way to approach this issue is if the whole upload process could be done via CLI, with settings being passed as arguments, users could arrange a simple for loop to recurse a directory.

from opensubtitles-uploader.

JustAndreww avatar JustAndreww commented on August 28, 2024

Or at least do not clear "Video file" section on upload, so we can choose just srt over and over again.

from opensubtitles-uploader.

vankasteelj avatar vankasteelj commented on August 28, 2024

Or at least do not clear "Video file" section on upload, so we can choose just srt over and over again.

that's not happening, the uploader is meant to provide perfect subtitles metadata using the specific video it's meant to be used with, extracting metadata from that video in the process. If you just want to upload a subtitle, why not use the website online uploader?

from opensubtitles-uploader.

vankasteelj avatar vankasteelj commented on August 28, 2024

Another way to approach this issue is if the whole upload process could be done via CLI, with settings being passed as arguments, users could arrange a simple for loop to recurse a directory.

You can actually do that quite easily with javascript and node using https://github.com/vankasteelj/opensubtitles.com

from opensubtitles-uploader.

Rouzax avatar Rouzax commented on August 28, 2024

Another way to approach this issue is if the whole upload process could be done via CLI, with settings being passed as arguments, users could arrange a simple for loop to recurse a directory.

You can actually do that quite easily with javascript and node using https://github.com/vankasteelj/opensubtitles.com

I know this is a bit of a kick, but how would that be possible?
The new API does not support upload, or am I missing anything?
https://opensubtitles.stoplight.io/docs/opensubtitles-api/b1eb44d4c8502-open-subtitles-api

from opensubtitles-uploader.

enchained avatar enchained commented on August 28, 2024

The new API does not support upload, or am I missing anything? https://opensubtitles.stoplight.io/docs/opensubtitles-api/b1eb44d4c8502-open-subtitles-api

I think you have to use the old API for uploads for now: https://github.com/vankasteelj/opensubtitles-api
Source: Official forums https://forum.opensubtitles.org/viewtopic.php?f=11&t=17930

Tue Sep 19, 2023 11:32 am
We will keep old API a bit longer, probably just supporting uploads.
Thu Sep 21, 2023 5:49 pm
dont worry, Uploading subtitles will be supported for sure via old api
Tue Oct 24, 2023 6:50 pm
well we have idea to abadon this old API long time ago, and we really need to move on. To keep two totally separate systems working...anyway, we will find out something, maybe allow old API just for VIP users or APPs which pays some fees, so everybody is happy.

from opensubtitles-uploader.

Edoarda77 avatar Edoarda77 commented on August 28, 2024

from opensubtitles-uploader.

Related Issues (20)

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.