Project

General

Profile

Actions

Bug #1399

closed

Отсутствие обработки text/plain

Added by Mellon about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Plugins: DeadLyrics
Target version:
Start date:
11/05/2013
Due date:
% Done:

100%

Estimated time:
2:30 h
Reported in:
master

Description

точно знаю, что по сети передается text/plain, но плагин не осиливает его от слова никак.

Expected result:
принятие файла, внесение в список полуенных текстов, отображение согласно описанию из src/plugins/deadlyrics/resources/sites.xml

Actual result:
ничего

STR:
указать в источнике ссылку на текстовый файл.
простейшие примеры описания:

  <provider name="animelyrics.com (J-Pop lyrics with Kanji)" title="{title}" charset="utf-8" url="http://www.animelyrics.com/jpop/{artist}/{title}.jis.txt">
    <urlFormat replace=" ._@,;&amp;\/'&quot;-" with=""/>
  </provider>
  <provider name="animelyrics.com (J-Pop lyrics)" title="{title}" charset="utf-8" url="http://www.animelyrics.com/anime/{artist}/{title}.txt">
    <urlFormat replace=" ._@,;&amp;\/'&quot;-" with=""/>
  </provider>

, например, с помощью прокси)
ЗЫ
что передается и что принимается также установлено через анализ трафика через прокси.

Примерный получаемый файл прикреплен.

System information:
LeechCraft 0.5.95-3273-gac83955
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: NAME=Gentoo x86_64 3.11.4-gentoo #1 SMP PREEMPT Wed Oct 9 16:06:14 MSK 2013


Files

Actions #1

Updated by 0xd34df00d about 11 years ago

  • Status changed from New to Assigned
  • Target version set to 0.6.60
  • Estimated time set to 2:00 h
Actions #2

Updated by 0xd34df00d about 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset main|commit:38ac3ba4e768b0686f7c91dcf82d9bfbcca0282b.

Actions #3

Updated by Mellon about 11 years ago

пасяб, но добавь разбивку на строки в случае когда конец строки не UNIX формата. http://dump.bitcheese.net/images/izyjezi/screenshot.png

Actions #4

Updated by 0xd34df00d about 11 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 80
  • Estimated time changed from 2:00 h to 2:30 h

Да, чо-то я про это забыл.

Actions #5

Updated by 0xd34df00d about 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 80 to 100

Applied in changeset main|commit:68f30aa00f79c519471e763151b50a1b2e716604.

Actions #6

Updated by 0xd34df00d about 11 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 80

Crap, wrong taskid.

Actions #7

Updated by 0xd34df00d about 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 80 to 100

Applied in changeset main|commit:b79e5529835e9f70fc529eb33f50b547ec35b1bd.

Actions #8

Updated by Mellon about 11 years ago

  • Status changed from Resolved to Closed

работает, но не правильно. завожу новые ишшуезы

Actions

Also available in: Atom PDF