darioragusa / jwlibrary-mediainserter Goto Github PK
View Code? Open in Web Editor NEWAdd custom images or videos to the Watchtower or the Meeting Workbook.
License: MIT License
Add custom images or videos to the Watchtower or the Meeting Workbook.
License: MIT License
Have you ever had problems with the term of use below?
YOUR USE OF JW LIBRARY®
I await reply!
Thank you very much for this app.
Is it possible to add drag and drop function to drag element to the insert box.
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.
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.
Hi. When I run the program it shows this message even when I have downloaded and installed the frameworks for .NET.
Hello friend, follow translation for Pt_br
https://drive.google.com/file/d/14ggE1-XeyzRB225-f_3r-CTm3D-L0sst/view?usp=sharing
Hi. How can I help translating this app to spanish?
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.
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:
Damos click en Continuar y la pantalla queda asi:
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:
Click en continuar
si cierro y abro el programa
aparece que se inserto
en jw library si aparecen las imagenes pero el video no
Pero en la carpeta si se copio el archivo llamado "video1"
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
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.
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.
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.
Aqui se ve que no entra completo el insertar
Y no se ven las opciones de abajo
Como posso falar com voce? tem whatsapp?
How can I talk to you? do you have Whatsapp?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.