Youtube ->SDB.Downloader.DownloadFile not updating screen

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

Moderator: Gurus

Youtube ->SDB.Downloader.DownloadFile not updating screen

Postby kevin-australian » Sat Jan 07, 2017 11:31 pm

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
kevin-australian
 
Posts: 3
Joined: Sun Oct 30, 2016 1:27 am

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

Postby Peke » Mon Jan 09, 2017 2:14 pm

Best regards,
Pavle
MM Core Developer and Admin of free MediaMonkey extensions Hosting
Image
Image
Peke
 
Posts: 10441
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

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

Postby kevin-australian » Mon Jan 09, 2017 4:06 pm

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
kevin-australian
 
Posts: 3
Joined: Sun Oct 30, 2016 1:27 am


Return to MediaMonkey 4 Addons developer forum

Who is online

Users browsing this forum: No registered users and 4 guests