Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When importing video video description with newlines get cut off after first line #2496

Closed
McFlat opened this issue Feb 15, 2020 · 1 comment
Labels
Status: To Reproduce Likely a bug but needs reproduction and/or extended log from the issuer Status: Waiting for answer Waiting issue author answer

Comments

@McFlat
Copy link
Contributor

McFlat commented Feb 15, 2020

What happened?
trying to import videos using peertube upload but when given video-description everything after the first line gets cut off
What do you expect to happen instead?
I expect the whole description to be populated to the video when being uploaded with peertube upload tool
Steps to reproduce:

  1. peertube upload a video with a description that has newlines

     description="$(echo "*ID:* ${id} **URL:** ${video_url} _CHANNEL:_ ${channel_url} __TAGS:__ ${tags} *UPLOAD DATE:* ${upload_date} **DESCRIPTION:** ${description}")";
           echo "${description}";
    
  2. notice only the first lines made it

  3.  output="$(peertube upload \
                 --url "${PEERTUBE_URL}" \
                 --username "${USERNAME}" \
                 --password "${PASSWORD}" \
                 --video-name "$fulltitle" \
                 --thumbnail "${thumbnail_file}" \
                 --video-description "${description}" \
                 ${OPTIONS} \
                 --file "$(realpath "./$FILENAME")" 2>&1)";
    

Additional information

  • PeerTube version or URL: 2.0.0

  • Browser name/version: N/A

  • NodeJS version: 12.13.1

  • Link to browser console log if useful:

  • Link to server log if useful (journalctl or /var/www/peertube/storage/logs/):
    https://troo.tube

@Chocobozzz Chocobozzz added the Status: To Reproduce Likely a bug but needs reproduction and/or extended log from the issuer label Feb 17, 2020
@Chocobozzz
Copy link
Owner

I'm sorry I can't reproduce. Can you tell me where the description is truncated?

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: To Reproduce Likely a bug but needs reproduction and/or extended log from the issuer Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

2 participants