Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Does the DownloadStudio command line have a Suggested Name parameter?

  1. #1
    Join Date
    Aug 2016
    Location
    Morton, IL
    Posts
    32

    Default Does the DownloadStudio command line have a Suggested Name parameter?

    When I download videos from YouTube, I use FlashGot in a Firefox fork to add the job to DownloadStudio. I've found DownloadStudio's default name for such vidoes is normally totally useless. It's just the name of the page the video is on. Is there a way to have FlashGot provide the name? I know it has a suggested name placeholder. I'm guessing that'd be the video title. The string FlashGot is set up to use is below. This is the same as what's suggested by the DownloadStudio help file, but I deleted the parameter that tells DownloadStudio where to save the file. That didn't make sense.

    Code:
    <downloadstudio><originator>firefox</originator><script><add_jobs display_dialog=yes><joblist><job> [<url>URL</url>] [<url_list_file>UFILE</url_list_file>] [<referer>REFERER</referer>] [<post_data>POST</post_data>] [<cookie>COOKIE</cookie>] </job></joblist></add_jobs></script></downloadstudio>
    Will Pittenger

  2. #2

    Default

    any body to help this issue?

  3. #3
    Join Date
    Sep 2009
    Posts
    2,696

    Default

    Hi,
    you can try using the <file> tag to set the file name, you can add this to the xml <file>FNAME</file>

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  4. #4

    Default

    thanks peter, ll try it.

  5. #5
    Join Date
    Aug 2016
    Location
    Morton, IL
    Posts
    32

    Default

    BTW: That only works if you surround the FNAME part in brackets. They can, however, be outside the XML tag. Without the brackets, the FNAME string is treated as a literal. Unfortunately, I also found the default name for YouTube videos can be rather long and contain characters not allowed in file names. When you then give the focus to the file name text field in the Add New Job dialog, DownloadStudio crashes. See the attached crash logs. This happens even before you have a chance to actually change the name and well before you start or save the job.
    Attached Files Attached Files
    Will Pittenger

  6. #6
    Join Date
    Sep 2009
    Posts
    2,696

    Default

    I have tried to reproduce the crash here by downloading the same video using Flash Got but it does not crash, DownloadStudio resolves the name and changes it to videoplayback so I have made a change to prevent this overriding the 'good' name from FlashGot.

    The FlashGot template I am using is:

    <downloadstudio><originator>firefox</originator><script><add_jobs display_dialog=yes><joblist><job> [<url>URL</url>] [<url_list_file>UFILE</url_list_file>]
    [<file>FNAME</file>]
    [<referer>REFERER</referer>] [<post_data>POST</post_data>] [<cookie>COOKIE</cookie>] </job></joblist></add_jobs></script></downloadstudio>

    I will send you a patch with this change and this should also fix the crashes.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  7. #7
    Join Date
    Aug 2016
    Location
    Morton, IL
    Posts
    32

    Default

    The video I was attempting to download was https://www.youtube.com/watch?v=rf52LSg4AsA.
    Will Pittenger

  8. #8
    Join Date
    Sep 2009
    Posts
    2,696

    Default

    This is the same video I tested with here.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  9. #9
    Join Date
    Aug 2016
    Location
    Morton, IL
    Posts
    32

    Default

    Still crashes.
    Will Pittenger

  10. #10
    Join Date
    Sep 2009
    Posts
    2,696

    Default

    I was unable to reproduce the crash on two PCs here when downloading https://www.youtube.com/watch?v=rf52LSg4AsA using FlashGot. Can you please tell me which video you selected from FlashGot's list so I can try selecting the same one here?

    Please also check to make sure your FlashGot parameters match:

    <downloadstudio><originator>firefox</originator><script><add_jobs display_dialog=yes><joblist><job> [<url>URL</url>] [<url_list_file>UFILE</url_list_file>]
    [<file>FNAME</file>]
    [<referer>REFERER</referer>] [<post_data>POST</post_data>] [<cookie>COOKIE</cookie>] </job></joblist></add_jobs></script></downloadstudio>

    This is what I am using and it does not crash.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. Suggestion: ExitOnComplete command line option
    By xFallenAngelx in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 09-29-2014, 08:46 AM
  2. Tutorial: Mezzmo Command Line Interface
    By Paul in forum Mezzmo FAQs & How To Guides
    Replies: 0
    Last Post: 10-10-2013, 09:32 AM
  3. Starting MediaServer with Command Line, batch file, to assign High priority
    By Lifferds in forum Mezzmo Questions and Support
    Replies: 4
    Last Post: 02-09-2013, 09:40 AM
  4. command line xml tag for number of connections?
    By hhwh in forum DownloadStudio Questions and Support
    Replies: 3
    Last Post: 03-16-2011, 08:17 AM
  5. command line problem in 6.0.7
    By hhwh in forum DownloadStudio Questions and Support
    Replies: 4
    Last Post: 01-10-2011, 07:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •