Youtube ->SDB.Downloader.DownloadFile not updating screen

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

kevin-australian
Posts: 3
Joined: Sun Oct 30, 2016 1:27 am

Youtube ->SDB.Downloader.DownloadFile not updating screen

Post by kevin-australian »

Hello
help update screen
I have been hacking together code from a number of sources. Have come to a little wall and not sure about what you are meant to call after the call to the (SDB.Downloader.DownloadFile) is made.

Issue is with the vbscript or what to call next

What i have so far is
Download selective youtube.mp4----> Comes down with no tags ----> then i create the tags --->python web server and flask server holding area for youtube.mp4

python web server and flask server address http://192.168.0.4:5000/static/youtube.mp4

C:\monkey\youtube.mp4 is a dumping directory until i get the Channels and podcasts sorted out right

SDB.Downloader.DownloadFile "http://192.168.0.4:5000/static/" + StringTitle+".mp4" , "C:\monkey\" + StringTitle+".mp4", True

objSonglist.UpdateAll ----- > i have this line not sure what it is doing --->> leave in take out does not help me

Problem
when i run the program it works it is updating the database lib --- when i try and use the add/rescan files it does not find any new files when i cancel....

wella screen is renewed and my youtube.mp4 is now showing on podcast sub ---> channel --> podcast list ---> life is all sweet yeeep hee yeep hee

Pressinjg f5 all does is refresh the current screen

need to renew program screen update display then

Any ideas please

thank you
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Youtube ->SDB.Downloader.DownloadFile not updating scree

Post by Peke »

Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
kevin-australian
Posts: 3
Joined: Sun Oct 30, 2016 1:27 am

Re: Youtube ->SDB.Downloader.DownloadFile not updating scree

Post by kevin-australian »

Thank you Pavle for replying

I have Tried your suggestion and I must be doing something wrong with excution of the SDB.Downloader.DownloadFileEx

When i try this it is not updating the mediamonkey lib old code did update lib........

Code: Select all

SDB.Downloader.DownloadFileEx "http://192.168.0.4:5000/static/" + StringTitle+".mp4", "C:\monkey\" + StringTitle+".mp4", Headers, "My Post body", true, StringTitle, ObjectAlbum_name, "notsure", "Podcast"

old code
SDB.Downloader.DownloadFile "http://192.168.0.4:5000/static/" + StringTitle+".mp4" , "C:\monkey\" + StringTitle+".mp4", True 
What i might do is ( not to use the add to lid function) add atached to the files download.
I will download the podcast to the podcast structure then let the mediamonkey pick up and add to the lib database

what mediamonkey function do i have to call to access the File->Add-rescan files function please
this did work for me

thanks kev
Post Reply