Code Monkey home page Code Monkey logo

jwlibrary-mediainserter's People

Contributors

darioragusa avatar joshdejuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jwlibrary-mediainserter's Issues

Terms Of Use

Have you ever had problems with the term of use below?

YOUR USE OF JW LIBRARY®

  1. What proper use? JW Library has been designed to download, organize, and display Watch Tower's electronic publications for your personal, non-commercial use only. Hence, you may not post any portion of the Watch Tower’s electronic publications on the Internet or on any other electronic network or use the publications commercially or in exchange for money — even if no profit is involved. Modification of the JW Library app is not permitted.

I await reply!

Drag and drop

Thank you very much for this app.
Is it possible to add drag and drop function to drag element to the insert box.

Could this work on Electron?

Do you know how I can make this work in HTML and JavaScript with Electron? My Attendant Zoom app is currently working with your code snippet. But I would like to port my app to Electron, and see the possibility of using this GREAT feature.

Ability to inject Media in any jwpub?

Hi. Can your app inject media into any jwpub?
My use case would be the following: I have a collection of various charts/images that have been published that help explain complex subjects. Eg the picture from the WT this week.
Having a publication on all my devices that contains all of these in one place would be amazing.

Problema Insertar Video

Hola, excelente día.

El día de hoy realize la actualización de JW Library a la version 13.3.99 como se ve aquí en la imagen.
image

Esta version trae mejoras en los controles de contenido multimedia...

Bueno, el problema es que al usar este programa para insertar imagenes todo corre de maravilla, pero al querer insertar un video manda el siguiente error:
image

Damos click en Continuar y la pantalla queda asi:
image

Y como se puede ver, NO SE INSERTA EL VIDEO
(Ya revisando, el video se copia en la carpeta C:\Users\Usuario\Videos\JWLibrary, pero no aparece en la lista de la publicacion)

Por ejemplo quiero insertar estos 3 archivos en estudio atalaya de esta semana:
image
image
Click en continuar
image
si cierro y abro el programa
image
aparece que se inserto
en jw library si aparecen las imagenes pero el video no
image
Pero en la carpeta si se copio el archivo llamado "video1"
image

Parece que el problema es solo para que aparezca al lado de las imagenes.
Y algo tiene que ver con la nueva opcion de habilitar los subtitulos de los videos al reproducirlos
Espero puedan hacer la correccion del codigo pronto, muchas gracias

MediaExtract from JWPUB

First of all: Sorry for the translation, I use Google Translate.

Hello @darioragusa we have had conversations together before, now I am trying to extract the images and videos from a JWPUB file, I have already managed to get the images, now I need to extract the videos from the database. My friend @TjeuKayim recommended that we could get something here together. I hope you join the conversation!

I've already had a little chat with @MrCyjaneK here, you can take a look if you like.

This is what I have of code so far, it's very simple but it works:

Imports System
Imports System.Net
Imports System.IO.Compression
Imports System.IO
Imports System.IO.Compression.ZipFile
Imports System.Data.SQLite
Imports System.Collections
Imports System.Collections.Generic
Imports System.Data
Imports System.Windows

Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Try
            Label1.Text = "Creando el directorio de descarga temporal"
            My.Computer.FileSystem.CreateDirectory("C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D")
        Catch ex As Exception
            MsgBox("No se pudo crear el directorio" & vbCrLf & ex.Message)
        End Try

        Dim client As New WebClient()
        If My.Computer.Network.IsAvailable Then
            Try
                Label1.Text = "Descargando el archivo JWPUB..."
                My.Computer.Network.DownloadFile("https://download-a.akamaihd.net/files/media_periodical/c8/mwb_S_202207.jwpub", "C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.jwpub")
            Catch ex As Exception
                MsgBox("No se pudo descargar el archivo JWPUB" & vbCrLf & ex.Message)
            End Try
        Else
            Label1.Text = "Conectate a Internet"
            MsgBox("No estás conectado a Internet")
        End If

        Try
            Label1.Text = "Espere 3 segundos..."
            System.Threading.Thread.Sleep(3000)
        Catch ex As Exception
            MsgBox("No se pudo esperar los 3 segundos" & vbCrLf & ex.Message)
        End Try

        Try
            Label1.Text = "Cambiando el nombre al archivo JWPUB por ZIP"
            My.Computer.FileSystem.RenameFile("C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.jwpub", "mwb_S_202207.zip")
        Catch ex As Exception
            MsgBox("No se pudo cambiar el nombre del archivo JWPUB" & vbCrLf & ex.Message)
        End Try

        Try
            Label1.Text = "Descomprimiendo archivo ZIP..."
            ZipFile.ExtractToDirectory("C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.zip", "C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\")
        Catch ex As Exception
            MsgBox("No se pudo descomprimir el archivo ZIP" & vbCrLf & ex.Message)
        End Try

        Try
            Label1.Text = "Cambiando el nombre a la carpeta CONTENTS a ZIP"
            My.Computer.FileSystem.RenameFile("C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\contents", "contents.zip")
        Catch ex As Exception
            MsgBox("No se pudo cambiar el nombre de la carpeta CONTENTS" & vbCrLf & ex.Message)
        End Try

        Try
            Label1.Text = "Descomprimiendo la carpeta CONTENTS.ZIP..."
            ZipFile.ExtractToDirectory("C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\contents.zip", "C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\")
        Catch ex As Exception
            MsgBox("No se pudo descomprimir la carpeta CONTENTS.ZIP" & vbCrLf & ex.Message)
        End Try

        Dim SQLiteConn As New SQLiteConnection
        Try
            SQLiteConn.ConnectionString = "Data Source=C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.db; Integrated Security=true"
            SQLiteConn.Open()
        Catch ex As Exception
            MsgBox("No se pudo conectar a la Base de Datos" & ex.Message)
        End Try

        Dim SQLitecnStr As String = "Data Source=C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.db; Integrated Security=true"
        Dim SQLitecmd As New SQLiteCommand
        Dim SQLiteReader As SQLiteDataReader
        Try
            SQLiteConn.ConnectionString = SQLitecnStr
            SQLiteConn.Open()

            SQLitecmd.Connection = SQLiteConn
            SQLitecmd.CommandText = "SELECT * from Multimedia LIMIT 1;"
            SQLiteReader = SQLitecmd.ExecuteReader()

            MsgBox(SQLiteReader("MimeType").ToString)
        Catch ex As Exception
            MsgBox("No se pudo conectar a la tabla Mutimedia" & ex.Message)
        End Try
    End Sub
End Class

This part is the one that doesn't work:

Dim SQLitecnStr As String = "Data Source=C:\GoAttendant\Attendant Zoom\AppData\Local\Packages\417474656E64616E74205A6F6F6D\mwb_S_202207.db; Integrated Security=true"
       Dim SQLitecmd As New SQLiteCommand
       Dim SQLiteReader As SQLiteDataReader
       Try
           SQLiteConn.ConnectionString = SQLitecnStr
           SQLiteConn.Open()

           SQLitecmd.Connection = SQLiteConn
           SQLitecmd.CommandText = "SELECT * from Multimedia LIMIT 1;"
           SQLiteReader = SQLitecmd.ExecuteReader()

           MsgBox(SQLiteReader("MimeType").ToString)
       Catch ex As Exception
           MsgBox("No se pudo conectar a la tabla Mutimedia" & ex.Message)
       End Try

Here I show you a bit of the Designer. I even have their repository here, but it's not fully uploaded yet, I'm missing some files, maybe by the time you read this they'll all be up.

Captura de pantalla (70)

At first I based my project on this, however it has not worked for me since the error function. I want to implement this project to my Attendant Zoom application, an application to share multimedia in video conference meetings, in the Kingdom Hall or even in Assembly Halls.

Detalle visual version 1.1.0

Hola, estoy muy agradecido por su trabajo. Solo en la version 1.1.0 en la ventana no se visualizan los controles nuevos para ver todas las publicaciones y exportar el jwpub. Se que existe porque si doy tecla TAB y presiono enter veo que hay otras opciones abajo.
Quiza solo es el entorno visual que no se agrando a la hora de empaquetar. Mando captura de pantalla.

image
Aqui se ve que no entra completo el insertar
Y no se ven las opciones de abajo

I get an error in the code

Hey bro! How are you? I am adding your new version to my Attendant Zoom application, and I see this small error that I cannot solve, I have installed the dependencies, will I need any? I attach the following screenshots.

Captura de pantalla (172)
Captura de pantalla (173)

hello

Como posso falar com voce? tem whatsapp?

How can I talk to you? do you have Whatsapp?

Remove added media

Hello friend, is it possible to add the function to delete the added multimedia, for example, now it is possible to add an image or a video, but is it possible to only delete an image or a video without having to restore the entire publication?

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.