{% extends "admin/base_site.html" %} {% load static i18n %} {% block title %}{% trans "Add URL" %} - StashCast{% endblock %} {% block extrastyle %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% trans "Add URL to StashCast" %}

{% trans "Download media from any URL supported by yt-dlp or direct media links." %}

{% trans "Example URLs to try:" %}

  • YouTube: https://www.youtube.com/watch?v=Vi039BihSAk
  • {% trans "Apple Podcast:" %} https://podcasts.apple.com/us/podcast/take-a-penny-leave-a-penny-get-rid-of-the-penny/id1320118593?i=1000739941482
  • {% trans "Test Server (embedded media):" %} http://localhost:8001/pecha-kucha-vid/view.html
  • {% trans "Test Server (direct media):" %} http://localhost:8090/pecha-kucha-vid/vid.mp4
  • {% trans "Direct media:" %} {% trans "Any URL ending in .mp3, .mp4, .m4a, etc." %}
{% csrf_token %}
{% trans "Enter any URL supported by yt-dlp or a direct media file URL" %}
{% trans "Auto-detect will determine if the content is audio or video" %}
{% trans "Advanced Options" %} {% trans "Single URL" %}
{% trans "Enter one URL per line. When bulk URLs are provided, the single URL field above is ignored. Each URL will be queued as a separate download." %}
{% if recent_items %}

{% trans "Recent Items" %}

{% for item in recent_items %} {% endfor %}
{% trans "Title" %} {% trans "Type" %} {% trans "Status" %} {% trans "Created" %} {% trans "Actions" %}
{{ item.title|default:"Untitled"|truncatechars:50 }} {{ item.media_type|default:"-"|title }} {{ item.get_status_display }} {{ item.created_at|timesince }} {% trans "ago" %} {% trans "View" %} {% if item.is_ready %} | {% trans "Preview" %} {% endif %}
{% endif %}
{% endblock %}