Page 1 of 1

A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 4:25 am
by tstrike
Zip (aka Mr. Chelsea Blue hehehe)

Is there a way to build a list of URLs and have Serviio read in the files into the Online Sources... Doing this one at a time is cumbersome and when I want to refresh the list, it is a tedious task...

Is this a derby function? If so, could you instruct me in the syntax of such an endeavor?

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 1:14 pm
by zip
There is the Import / Export function in the console. It's just a file with ServiioLink entries.

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 2:15 pm
by jhb50
I built this long ago, but the samples are all out of date.
Problem is that the feeds expire whereas web-resources for each site find the latest feeds, but it does allow the feeds to be maintained in a single file that can be refreshed in serviio.
http://wiki.serviio.org/doku.php?id=live_stream_folders
viewtopic.php?f=20&t=6645&p=104171#p48054

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 4:08 pm
by tstrike
jhb50 wrote:I built this long ago, but the samples are all out of date.
Problem is that the feeds expire whereas web-resources for each site find the latest feeds, but it does allow the feeds to be maintained in a single file that can be refreshed in serviio.
http://wiki.serviio.org/doku.php?id=live_stream_folders
viewtopic.php?f=20&t=6645&p=104171#p48054


This is good... I will start with this... I need to sit down for a weekend and learn groovys and some of this stuff.... I have such a hectic schedule, but this is on my Programming bucket list.... I feel like I havent contributed a damn thing to this very very awesome solution. *guilt*

Thanks guys, I will circle back.

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 4:45 pm
by tstrike
Hey guys...

I really like the ServiioLinks (I never really paid attention to them before).. I noticed a series of variables set to escape certain characters that are translated in the URL... Example

  Code:
<serviioLink>serviio://video:live?url=http%3A%2F%2Fvurl.com%2FOYLlG&amp;name=NASA</serviioLink>


Note the variables for %3A (for :), %2F (for /). I was wondering if there is a guide for scripting ServiioLinks... I searched the forums, but didnt find a reference guide or anything.... I got the overall structure, just want to make sure I am coding the sob's correctly before import.

OR

Can I place the URL into the sob and when imported, Serviio automajically translate?

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 4:45 pm
by tstrike
Hey guys...

I really like the ServiioLinks (I never really paid attention to them before).. I noticed a series of variables set to escape certain characters that are translated in the URL... Example

  Code:
<serviioLink>serviio://video:live?url=http%3A%2F%2Fvurl.com%2FOYLlG&amp;name=NASA</serviioLink>


Note the variables for %3A (for : ), %2F (for /). I was wondering if there is a guide for scripting ServiioLinks... I searched the forums, but didnt find a reference guide or anything.... I got the overall structure, just want to make sure I am coding the sob's correctly before import.

OR

Can I place the URL into the sob and when imported, Serviio automajically translate?

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 6:59 pm
by zip
You can use this to encode the URL: http://www.url-encode-decode.com/

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 7:36 pm
by tstrike
zip wrote:You can use this to encode the URL: http://www.url-encode-decode.com/


THank You THANK YOU!!!

I was loosing my mind for a minute or two.

Re: A question for Zip (Online Sources)

PostPosted: Thu Sep 24, 2015 7:38 pm
by tstrike
zip wrote:You can use this to encode the URL: http://www.url-encode-decode.com/



Zip... one more question.... if you update your existing sob file, it overwrites the current one you have running correct? Afterwards, the search index poller picks up the change and rescans correct?

Re: A question for Zip (Online Sources)

PostPosted: Fri Sep 25, 2015 3:59 am
by jhb50
Here is the encoder/decoder I use.
http://meyerweb.com/eric/tools/dencoder/

Re: A question for Zip (Online Sources)

PostPosted: Fri Sep 25, 2015 9:22 pm
by zip
tstrike wrote:
zip wrote:You can use this to encode the URL: http://www.url-encode-decode.com/



Zip... one more question.... if you update your existing sob file, it overwrites the current one you have running correct? Afterwards, the search index poller picks up the change and rescans correct?

The sob file is just a backup / or a way to share with others. If you make a change, you have to import it back.

Re: A question for Zip (Online Sources)

PostPosted: Fri Sep 25, 2015 9:22 pm
by zip
tstrike wrote:
zip wrote:You can use this to encode the URL: http://www.url-encode-decode.com/



Zip... one more question.... if you update your existing sob file, it overwrites the current one you have running correct? Afterwards, the search index poller picks up the change and rescans correct?

The sob file is just a backup / or a way to share with others. If you make a change, you have to import it back.