December 13, 20196 yr Author 3 hours ago, INTEL said: If I'm downloading playlist, what should I put in custom download path so it doestn't create folder for every song in playlist, instead just one folder where whole playlist should be downloaded? /playlists/audio/%(title)s.%(ext)s Replace the name "audio" with the desired folder name or add a desired folder name after the audio. /playlists/audio/mixed/%(title)s.%(ext)s And replace the "mixed" folder name with the folder of your choosing. And you need to use "Enter custom youtube-dl output" to work. Do not forget to tick "Download the entire playlist (will ignore youtube-dl errors so it doesn't crash)" else will download one video and stop, then will wait for a channel check until next video download and checks can be from minutes to hours to days , depends on the setup you made. Edited December 13, 20196 yr by Jidovu Marius Adrian
December 16, 20196 yr On 12/13/2019 at 11:45 AM, Jidovu Marius Adrian said: /playlists/audio/%(title)s.%(ext)s Replace the name "audio" with the desired folder name or add a desired folder name after the audio. /playlists/audio/mixed/%(title)s.%(ext)s And replace the "mixed" folder name with the folder of your choosing. And you need to use "Enter custom youtube-dl output" to work. Do not forget to tick "Download the entire playlist (will ignore youtube-dl errors so it doesn't crash)" else will download one video and stop, then will wait for a channel check until next video download and checks can be from minutes to hours to days , depends on the setup you made. Whenever I try to enter in a custom path, it just adds my custom path to the default path, it doesn't replace it.
December 16, 20196 yr Author 3 hours ago, ice pube said: Whenever I try to enter in a custom path, it just adds my custom path to the default path, it doesn't replace it. The root path ( mounted folder ) that you did setup in the docker template will not be changed.
December 17, 20196 yr No matter what i set the download folder path to be, or what customised path I set, I'm always getting the same error messages in the logs. I've tried a two different youtube channels but get the same error. {"level":"info","msg":"received a request to add a target","time":"2019-12-14T08:09:58Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://youtube.com/users/destinws2","time":"2019-12-14T08:09:58Z"} {"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"adding {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s} to DB","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"DOWNLOAD: {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"downloading video","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=any] downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2}","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:02Z"} {"level":"error","msg":"exit status 1/usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"updating latest downloaded video id","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"latest downloaded video id updated successfully","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"updating download history","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"returning response: {Error ERROR_DOWNLOADING There was an error downloading the target Download: DownloadVideo: exit status 1}","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:43Z"}
December 17, 20196 yr Author 3 minutes ago, Redxd said: No matter what i set the download folder path to be, or what customised path I set, I'm always getting the same error messages in the logs. I've tried a two different youtube channels but get the same error. {"level":"info","msg":"received a request to add a target","time":"2019-12-14T08:09:58Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://youtube.com/users/destinws2","time":"2019-12-14T08:09:58Z"} {"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"adding {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s} to DB","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"DOWNLOAD: {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"downloading video","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=any] downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2}","time":"2019-12-14T08:10:02Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:02Z"} {"level":"error","msg":"exit status 1/usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"updating latest downloaded video id","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"latest downloaded video id updated successfully","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"updating download history","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"returning response: {Error ERROR_DOWNLOADING There was an error downloading the target Download: DownloadVideo: exit status 1}","time":"2019-12-14T08:10:05Z"} {"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:06Z"} {"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:43Z"} {"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:43Z"} Can you make a picture with the settings you are using and post it ?
December 17, 20196 yr 4 minutes ago, Jidovu Marius Adrian said: Can you make a picture with the settings you are using and post it ? This is the docker settings I have set. Downloads location pointing to my array and config file pointing to my cache directory.
December 17, 20196 yr 14 minutes ago, Jidovu Marius Adrian said: A picture with goautoyt before you click add channel. i've tried multiple scenarios with the custom output path. Even the default it dosn't work.
December 17, 20196 yr Author 3 minutes ago, Redxd said: i've tried multiple scenarios with the custom output path. Even the default it dosn't work. Do you add any custom folder or custom format ?
December 17, 20196 yr 1 minute ago, Jidovu Marius Adrian said: Do you add any custom folder or custom format ? I have tried a few different custom paths in troubleshooting this. With a /channels/ folder (created and not created) No channels folder so just / /Downloads/ but then in the logs it must already prefix Downloads show it was showing up as downloads/downloads/
December 17, 20196 yr Author 36 minutes ago, Redxd said: I have tried a few different custom paths in troubleshooting this. With a /channels/ folder (created and not created) No channels folder so just / /Downloads/ but then in the logs it must already prefix Downloads show it was showing up as downloads/downloads/ Adding "Channels" tab to the bug list. This issue is with youtube-dl and latest youtube changes. Edited December 17, 20196 yr by Jidovu Marius Adrian
December 17, 20196 yr 10 hours ago, Jidovu Marius Adrian said: Adding "Channels" tab to the bug list. This issue is with youtube-dl and latest youtube changes. Is there a current workaround? I'm also getting the download error.
December 17, 20196 yr Author 44 minutes ago, crazygambit said: Is there a current workaround? I'm also getting the download error. I will post back here when "Channels" tab works. There is no workaround for go-auto-yt at the moment.
December 18, 20196 yr Im most likley just stupied, but as soon as i try to start this i just get this time="2019-12-18T12:55:40Z" level=error msg="database.load: could not read file: open config/playlists.json: no such file or directory" time="2019-12-18T12:55:40Z" level=fatal msg="<nil>"
December 18, 20196 yr Author 2 hours ago, AndreasLindroth said: Im most likley just stupied, but as soon as i try to start this i just get this time="2019-12-18T12:55:40Z" level=error msg="database.load: could not read file: open config/playlists.json: no such file or directory" time="2019-12-18T12:55:40Z" level=fatal msg="<nil>" It is a bug on this version, it should be fixed on the next version release. In order to fix it you have to create 3 files and place them in the config directory of the mounted config folder. Download the attached files and put them in: /mnt/user/appdata/go-auto-yt/config Assuming you did not change the config folder of the app in the docker template, if you did then add them in the folder you specified. channels.json playlists.json videos.json
December 18, 20196 yr Author The database issue has been fixed and the creation of the files is no longer required.
December 19, 20196 yr Looks like the gui adds "[ext=any]" which isn't a supported option for youtube-dl If you remove it from the config it'll just stick in "[ext=]" which of course also breaks "Any" should just leave out the -f option as youtube-dl defaults to "-f bestvideo+bestaudio/best" which will try to get the best of both and convert them or grab the best if it's missing conversion tools Edited December 19, 20196 yr by melmurp details
December 19, 20196 yr Author 27 minutes ago, melmurp said: Looks like the gui adds "[ext=any]" which isn't a supported option for youtube-dl... pretty much breaks everything unless you pick mp4 or go with audio only mode. Does it work for you to download an entire channel using mp4 for video and audio option ?
December 19, 20196 yr 6 minutes ago, Jidovu Marius Adrian said: Does it work for you to download an entire channel using mp4 for video and audio option ? Yup Here are the calls {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg","time":"2019-12-19T00:37:41Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg Video And Audio Uploads from 2NE1 mp4 [] 12-19-2019 00:37:48 Channel /channels/%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"downloading video","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/channels/%(uploader)s/video/%(title)s.%(ext)s https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/channels/%(uploader)s/video/%(title)s.%(ext)s Looks like it grabs the last file, I'm assuming to update the json record, and it's not using the -f option then it makes the call to grab all the files using the -f with mp4 set. Noticed that if you click "check" on the gui it ignores the json settings and uses the ones in the drop down
December 19, 20196 yr Author 25 minutes ago, melmurp said: Yup Here are the calls {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg","time":"2019-12-19T00:37:41Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg Video And Audio Uploads from 2NE1 mp4 [] 12-19-2019 00:37:48 Channel /channels/%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"downloading video","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/channels/%(uploader)s/video/%(title)s.%(ext)s https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/channels/%(uploader)s/video/%(title)s.%(ext)s Looks like it grabs the last file, I'm assuming to update the json record, and it's not using the -f option then it makes the call to grab all the files using the -f with mp4 set. Noticed that if you click "check" on the gui it ignores the json settings and uses the ones in the drop down Are you using a proxy by any chance ?
December 19, 20196 yr 4 minutes ago, Jidovu Marius Adrian said: Are you using a proxy by any chance ? Nope
December 20, 20196 yr I'm able to get the whole channel to download now by choose the quality as MP4, it doesn't work when set to 'Any'. With MP4 selected the videos download in the background but my guess is the 'channel' dosn't get added to the bottom of the gui until all videos are downloaded. I have noticed that all the videos it does download don't have any audio. Nothing in the logs about it. {"level":"info","msg":"received a request to add a target","time":"2019-12-20T11:02:27Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:27Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"}
December 20, 20196 yr 17 minutes ago, Redxd said: {"level":"info","msg":"received a request to add a target","time":"2019-12-20T11:02:27Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:27Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"} I just tried manually within the docker using the same command but changing the 'bestvideo[ext=mp4]' to just 'best'. This downloaded normal like any other time but it included video. I think when choosing the 'bestvideo' option it's just doing video and it may also be missing the audio part and then needing to join the two?
December 21, 20196 yr This would be a fantastic tool to use. Thank you for working on this. I tried using it but ran into some errors. I tried the channel download feature and it will only work when selecting MP4. Also when I add a channel I simply get a spinning wheel inside the ADD button and no indication that the channel was added. The downloads folder does get populated with videos as it downloads them though. I did not try the playlist feature. The individual video feature does not work for me. When I change the GUI from Audio Only, the default, to Video and Audio the drop down for format does not change and I am unable to select MP4.
December 21, 20196 yr Author 12 hours ago, 1tieraboveidiot said: This would be a fantastic tool to use. Thank you for working on this. I tried using it but ran into some errors. I tried the channel download feature and it will only work when selecting MP4. Also when I add a channel I simply get a spinning wheel inside the ADD button and no indication that the channel was added. The downloads folder does get populated with videos as it downloads them though. I did not try the playlist feature. The individual video feature does not work for me. When I change the GUI from Audio Only, the default, to Video and Audio the drop down for format does not change and I am unable to select MP4. There will be some change/s made to the "Channels" tab with the next version release.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.